2 Commits

Author SHA1 Message Date
87ff2d5d20 Fix Kong CORS configuration for cross-origin requests
Some checks failed
Build and Push Docker Images / build-portal (push) Successful in 2m26s
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 26s
Build and Push Docker Images / build-infra (docker/migrate, monacousa-migrate) (push) Has been cancelled
- Add proper CORS configuration to all Kong routes
- Allow portal.monacousa.org and localhost origins
- Configure allowed methods, headers, and credentials
- Fixes 'Cross-site POST form submissions are forbidden' error

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-10 13:50:36 +01:00
2ed04cd9f7 Redesign deployment: only .env + docker-compose.yml needed on server
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m17s
Custom Docker images embed all config so production servers no longer
need SQL files, kong.yml, or shell scripts. Kong generates config from
env vars at startup. Migrate container auto-detects fresh vs existing
DB and runs appropriate scripts.

New images: monacousa-db, monacousa-kong, monacousa-migrate
New commands: deploy.sh build-images, deploy.sh push-images

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 10:33:25 +01:00