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