3x-ui/docker-compose.yml

18 lines
417 B
YAML
Raw Normal View History

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