Fix hardcoded ORIGIN in docker-compose.yml
All checks were successful
Build and Push Docker Images / build-portal (push) Successful in 2m17s
Build and Push Docker Images / build-infra (docker/db, monacousa-db) (push) Successful in 1m16s
Build and Push Docker Images / build-infra (docker/kong, monacousa-kong) (push) Successful in 25s
Build and Push Docker Images / build-infra (docker/migrate, monacousa-migrate) (push) Successful in 1m16s
All checks were successful
Build and Push Docker Images / build-portal (push) Successful in 2m17s
Build and Push Docker Images / build-infra (docker/db, monacousa-db) (push) Successful in 1m16s
Build and Push Docker Images / build-infra (docker/kong, monacousa-kong) (push) Successful in 25s
Build and Push Docker Images / build-infra (docker/migrate, monacousa-migrate) (push) Successful in 1m16s
- 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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user