rebuild(deploy): make NAS preflight reversible
This commit is contained in:
+4
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user