Commit Graph

3 Commits

Author SHA1 Message Date
8bd721074e fix: Create bct-network instead of using external network
- Change from external bct-network to locally created network
- Fix docker-compose.astro.yml network definition
- Fix docker-compose.prod.yml network definition
- Prevents "undefined networks" error during deployment

Networks are now created automatically by Docker Compose
instead of requiring pre-existing external network.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 19:49:21 -06:00
374bbed9e7 fix: Add env_file directive to Docker Compose configurations
- Add env_file directive to docker-compose.astro.yml
- Add env_file directive to docker-compose.override.yml
- Ensures Docker Compose loads .env file properly
- Fixes environment variable substitution (${PUBLIC_SUPABASE_URL}, etc.)

Without this, environment variables were undefined in containers
causing connection failures to Supabase and other services.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 19:40:01 -06:00
6322126b29 feat: Production-ready Docker infrastructure with Directus CMS
- Add separated Docker Compose architecture (astro/infrastructure/override)
- Implement Directus + PostgreSQL with pinned versions (10.12.0/15.5-alpine)
- Add comprehensive database safety protections and backup scripts
- Configure production-ready NGINX reverse proxy setup
- Add container names, labels, and enhanced healthchecks
- Remove fallback environment variables for explicit production config
- Include log rotation and monitoring improvements

Infrastructure deployment:
- npm run docker:infrastructure:up (one-time setup)
- npm run docker:astro:up (regular deployments)
- npm run db:backup/restore/status (database management)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 19:17:30 -06:00