Sync deploy: backend, frontend, worker, docker, config

This commit is contained in:
Azouhri Abdelaziz
2026-02-04 21:34:09 +01:00
parent fec0c95110
commit 6af2f1423f

View File

@@ -372,7 +372,8 @@ services:
# Required: persistent key so Server Action IDs stay valid across deploys (avoids "Failed to find Server Action" + 504)
NEXT_SERVER_ACTIONS_ENCRYPTION_KEY: ${NEXT_SERVER_ACTIONS_ENCRYPTION_KEY:-}
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://127.0.0.1:3000/', r => { r.resume(); process.exit(r.statusCode === 200 ? 0 : 1); }).on('error', () => process.exit(1));"]
# Accept 2xx and 3xx (Next.js may redirect / to /en)
test: ["CMD", "node", "-e", "require('http').get('http://127.0.0.1:3000/', r => { r.resume(); const ok = r.statusCode >= 200 && r.statusCode < 400; process.exit(ok ? 0 : 1); }).on('error', () => process.exit(1));"]
interval: 15s
timeout: 10s
retries: 3