Fix AI env passthrough and health check key mismatch
- docker-compose.prod.yml: add env_file to inject full .env into backend container (AI_ENABLED, AI_PROVIDER, OPENROUTER_API_KEY, etc. were missing) - Config.tsx: fix health check key from 'anthropic' to 'ai' (backend returns checks.ai, not checks.anthropic)
This commit is contained in:
@@ -16,6 +16,8 @@ services:
|
||||
user: "1000:1000"
|
||||
ports:
|
||||
- "${BACKEND_PORT:-8001}:8000"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
DATABASE_URL: postgresql+asyncpg://imago:imago@db:5432/imago
|
||||
REDIS_URL: redis://redis:6379/0
|
||||
|
||||
Reference in New Issue
Block a user