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

This commit is contained in:
Azouhri Abdelaziz
2026-02-04 21:18:36 +01:00
parent 9dadde4ab4
commit 46515cb346
2 changed files with 6 additions and 0 deletions

View File

@@ -369,6 +369,8 @@ services:
environment:
PORT: "3000"
HOSTNAME: 0.0.0.0
# 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:-}
networks:
- frontend
ports:

View File

@@ -71,6 +71,10 @@ FRONTEND_PORT=3000
NEXT_PUBLIC_API_BASE_URL=https://app.getlinkzen.com
NEXT_PUBLIC_API_URL=https://app.getlinkzen.com
NEXT_PUBLIC_KEYCLOAK_URL=https://auth.getlinkzen.com
# Next.js Server Actions: persistent encryption key (base64). REQUIRED for production/staging to avoid
# "Failed to find Server Action" and 504 after redeploys. Generate once, keep the same forever (all deploys):
# node -e "console.log(require('crypto').randomBytes(32).toString('base64'))"
NEXT_SERVER_ACTIONS_ENCRYPTION_KEY=
# Tier 2 (022) fallback only; DB is source of truth. See docs/runtime-configuration-implementation.md §1.4
FEATURE_ADS_ENABLED=false