添加 docker-compose.3xui.yml

This commit is contained in:
git
2025-10-13 15:29:40 +08:00
parent 4cdf7d910d
commit da9de49f0e

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

@@ -0,0 +1,16 @@
# https://hub.docker.com/r/bigbugcc/3x-ui
# http://ip:2053/panel
services:
3xui:
image: bigbugcc/3x-ui
container_name: 3xui
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 个滚动日志文件