修改compose的重启选项为restart
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ services:
|
|||||||
sing-box:
|
sing-box:
|
||||||
image: ghcr.io/sagernet/sing-box:latest
|
image: ghcr.io/sagernet/sing-box:latest
|
||||||
container_name: ${COMPOSE_PROJECT_NAME}
|
container_name: ${COMPOSE_PROJECT_NAME}
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
network_mode: host
|
network_mode: host
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/config.json:/etc/sing-box/config.json
|
- ./config/config.json:/etc/sing-box/config.json
|
||||||
|
|||||||
Reference in New Issue
Block a user