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>
This commit is contained in:
@@ -12,6 +12,8 @@ services:
|
||||
labels:
|
||||
- "com.blackcanyon.role=astro-app"
|
||||
- "maintainer=tyler@crispygoat.com"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- HOST=0.0.0.0
|
||||
|
||||
@@ -18,6 +18,8 @@ services:
|
||||
- "com.blackcanyon.role=astro-app"
|
||||
- "com.blackcanyon.env=development"
|
||||
- "maintainer=tyler@crispygoat.com"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- NODE_ENV=development
|
||||
- HOST=0.0.0.0
|
||||
|
||||
Reference in New Issue
Block a user