2023-05-12 17:48:16 +00:00
|
|
|
services:
|
2025-06-13 08:25:13 +00:00
|
|
|
3xui:
|
|
|
|
|
build:
|
|
|
|
|
context: .
|
2025-11-23 14:16:16 +00:00
|
|
|
args:
|
|
|
|
|
XRAY_VERSION: "v25.10.15"
|
|
|
|
|
GEOUPDATE_CRON_SCHEDULE: "0 */6 * * *"
|
2025-06-13 08:25:13 +00:00
|
|
|
container_name: 3xui_app
|
2023-05-12 17:48:16 +00:00
|
|
|
volumes:
|
|
|
|
|
- $PWD/db/:/etc/x-ui/
|
|
|
|
|
- $PWD/cert/:/root/cert/
|
|
|
|
|
environment:
|
2025-11-23 14:16:16 +00:00
|
|
|
TZ: "Asia/Tehran"
|
2023-05-12 17:48:16 +00:00
|
|
|
XRAY_VMESS_AEAD_FORCED: "false"
|
2025-05-22 06:21:23 +00:00
|
|
|
XUI_ENABLE_FAIL2BAN: "true"
|
2023-05-12 17:48:16 +00:00
|
|
|
tty: true
|
|
|
|
|
network_mode: host
|
2025-11-23 14:16:16 +00:00
|
|
|
restart: unless-stopped
|