chore: add ADMIN_API_KEY to docker-compose files
- Production: reads from environment variable - Dev: hardcoded dev key for local testing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
5aa761e8aa
commit
34cce1851b
|
|
@ -25,6 +25,7 @@ services:
|
||||||
DATABASE_URL: postgresql+asyncpg://orchestrator:orchestrator@db:5432/orchestrator
|
DATABASE_URL: postgresql+asyncpg://orchestrator:orchestrator@db:5432/orchestrator
|
||||||
DEBUG: "true"
|
DEBUG: "true"
|
||||||
APP_NAME: "LetsBe Orchestrator"
|
APP_NAME: "LetsBe Orchestrator"
|
||||||
|
ADMIN_API_KEY: "dev-admin-key-12345" # Dev only - generate secure key for prod
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@ services:
|
||||||
DATABASE_URL: postgresql+asyncpg://orchestrator:orchestrator@db:5432/orchestrator
|
DATABASE_URL: postgresql+asyncpg://orchestrator:orchestrator@db:5432/orchestrator
|
||||||
DEBUG: "false" # set false in prod
|
DEBUG: "false" # set false in prod
|
||||||
APP_NAME: "LetsBe Orchestrator"
|
APP_NAME: "LetsBe Orchestrator"
|
||||||
|
ADMIN_API_KEY: "${ADMIN_API_KEY}" # Required for admin endpoints (token management)
|
||||||
# optionally, if your app supports it:
|
# optionally, if your app supports it:
|
||||||
# BASE_URL: https://orchestrator.example.com
|
# BASE_URL: https://orchestrator.example.com
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue