修改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:
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