修改compose的重启选项为restart

This commit is contained in:
Olia Lisa
2026-05-20 19:17:51 +08:00
parent b4418bbbb5
commit 2e1f9b0e96
+1 -1
View File
@@ -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