添加 docker-compose.3xui.yml
This commit is contained in:
16
docker-compose.3xui.yml
Normal file
16
docker-compose.3xui.yml
Normal 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 个滚动日志文件
|
||||
Reference in New Issue
Block a user