v2.6.2
This commit is contained in:
心隨緣動 2025-07-14 04:03:51 +08:00 committed by GitHub
parent 6a24189ba3
commit 28dbfa71ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,16 +1,14 @@
services: services:
3xui: 3x-ui:
build: image: ghcr.io/xeefei/3x-ui:latest
context: . container_name: 3x-ui
dockerfile: ./Dockerfile hostname: yourhostname
container_name: 3xui_app
# hostname: yourhostname <- optional
volumes: volumes:
- $PWD/db/:/etc/x-ui/ - $PWD/db/:/etc/x-ui/
- $PWD/cert/:/root/cert/ - $PWD/cert/:/root/cert/
environment: environment:
XRAY_VMESS_AEAD_FORCED: "false" XRAY_VMESS_AEAD_FORCED: "false"
XUI_ENABLE_FAIL2BAN: "true" X_UI_ENABLE_FAIL2BAN: "true"
tty: true tty: true
network_mode: host network_mode: host
restart: unless-stopped restart: unless-stopped