Fix staging auto-deploy: env write + port isolation (#3)
CI / backend (push) Successful in 1m5s
CI / frontend (push) Successful in 22s
Deploy Staging / deploy (push) Failing after 24s
Security / secrets (push) Successful in 5s
Security / dependencies (push) Successful in 1m4s

This commit was merged in pull request #3.
This commit is contained in:
2026-07-01 12:50:12 +02:00
parent 8727be9e94
commit d9a07a01b2
2 changed files with 16 additions and 15 deletions
+6 -4
View File
@@ -21,7 +21,9 @@
services:
postgres:
ports:
# !override replaces the base port list instead of merging with it, so staging
# binds ONLY its shifted 18xxx/15432 ports and never squats on prod's 8080/8081.
ports: !override
- "127.0.0.1:15432:5432"
api:
@@ -32,13 +34,13 @@ services:
App__DevMode: "true"
GmailSync__MaxMessages: ${MAX_MESSAGES:-2000}
Cors__Origins__0: ${FRONTEND_ORIGIN:-http://localhost:18081}
ports:
ports: !override
- "127.0.0.1:18080:8080"
frontend:
ports:
ports: !override
- "18081:80"
nginx:
ports:
ports: !override
- "18000:80"