Fix hardcoded ORIGIN in docker-compose.yml
Build and Push Docker Images / build-portal (push) Successful in 2m17s Details
Build and Push Docker Images / build-infra (docker/db, monacousa-db) (push) Successful in 1m16s Details
Build and Push Docker Images / build-infra (docker/kong, monacousa-kong) (push) Successful in 25s Details
Build and Push Docker Images / build-infra (docker/migrate, monacousa-migrate) (push) Successful in 1m16s Details

- Change ORIGIN from hardcoded localhost to use environment variable
- Allows production deployment with correct domain for CSRF protection
- Maintains localhost default for local development

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Matt 2026-02-10 13:55:52 +01:00
parent 87ff2d5d20
commit 92476902cf
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ services:
SUPABASE_SERVICE_ROLE_KEY: ${SERVICE_ROLE_KEY}
SUPABASE_INTERNAL_URL: http://kong:8000
NODE_ENV: production
ORIGIN: http://localhost:7453
ORIGIN: ${ORIGIN:-http://localhost:7453}
# Body size limit for file uploads (50MB)
BODY_SIZE_LIMIT: ${BODY_SIZE_LIMIT:-52428800}
depends_on: