添加 docker-compose.xui.yml

This commit is contained in:
git
2025-10-13 15:31:09 +08:00
parent da9de49f0e
commit 73f4c60bb0

16
docker-compose.xui.yml Normal file
View File

@@ -0,0 +1,16 @@
# ip:54321
# admin/admin
services:
xui:
image: enwaiax/x-ui
container_name: xui
volumes:
- $PWD/db/:/etc/x-ui/
- $PWD/cert/:/root/cert/
restart: unless-stopped
network_mode: host
logging:
driver: "json-file"
options:
max-size: "10m" # 每个日志文件最大 10M
max-file: "3" # 最多保留 3 个滚动日志文件