rebuild(deploy): make NAS preflight reversible

This commit is contained in:
leefer
2026-07-30 11:15:41 +08:00
parent 4eafa1cc3f
commit 227028f499
4 changed files with 18 additions and 5 deletions
+4 -2
View File
@@ -2,10 +2,11 @@ services:
web:
build:
context: .
image: xiaobai-review-next:local
image: ${APP_IMAGE:-xiaobai-review-next:local}
init: true
restart: unless-stopped
ports:
- "8765:8765"
- "${APP_PUBLISH_PORT:-8876}:8765"
env_file:
- .env
environment:
@@ -24,3 +25,4 @@ services:
- no-new-privileges:true
cap_drop:
- ALL
stop_grace_period: 30s