Commit Graph

3 Commits

Author SHA1 Message Date
Matt 1a6bce9c67 Add automatic post-deploy migrations and fix storage healthchecks
Build and Push Docker Image / build (push) Successful in 2m34s Details
- Add deploy/post-deploy.sql: idempotent script that ensures storage
  RLS policies, buckets, notifications table, and migration 017 are
  applied on every deploy
- Add migrate service to docker-compose: one-shot container that runs
  post-deploy.sql after storage-api creates its tables
- Add migrate command to deploy.sh with retry logic
- Fix studio/storage healthchecks (start_period, || exit 0)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 09:58:19 +01:00
Matt 4f78be3943 Add Kong config generator for production API keys
Build and Push Docker Image / build (push) Successful in 1m36s Details
Kong's declarative config doesn't support env vars, so API keys must be
embedded in kong.yml. Added generate-kong-config.sh script and integrated
it into deploy.sh to automatically generate kong.yml from .env values.

Run ./scripts/generate-kong-config.sh once after setting up .env, then
docker compose up -d will work correctly.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 03:16:00 +01:00
Matt e7338d1a70 Initial production deployment setup
- Production docker-compose with nginx support
- Nginx configuration for portal.monacousa.org
- Deployment script with backup/restore
- Gitea CI/CD workflow
- Fix CountryFlag reactivity for dropdown flags

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 02:19:49 +01:00