增加docker compose文件
This commit is contained in:
parent
d76f250bbf
commit
231bea99f8
14
docker-compose.yml
Normal file
14
docker-compose.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
services:
|
||||||
|
sing-box:
|
||||||
|
image: ghcr.io/sagernet/sing-box:latest
|
||||||
|
container_name: sing-box-tuic
|
||||||
|
restart: always
|
||||||
|
network_mode: host
|
||||||
|
volumes:
|
||||||
|
- /etc/sing-box:/etc/sing-box
|
||||||
|
command: -C /etc/sing-box run
|
||||||
|
logging:
|
||||||
|
driver: "json-file"
|
||||||
|
options:
|
||||||
|
max-size: "10m"
|
||||||
|
max-file: "3"
|
||||||
Loading…
Reference in New Issue
Block a user