v2.6.2
This commit is contained in:
心隨緣動 2025-07-13 03:30:19 +08:00 committed by GitHub
parent 2f972e593b
commit d9e96e331f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,16 +1,16 @@
---
version: "3"
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"
tty: true tty: true
network_mode: host network_mode: host
restart: unless-stopped restart: unless-stopped