mirror of
https://github.com/R0m1k3/TodoFlow.git
synced 2026-10-11 17:28:17 +02:00
Allow API_KEYS_RAW and DATABASE_URL environment overrides via compose interpolation
This commit is contained in:
1 parent
f9e9a0cc16
commit
2ca2e7aeef
1 file changed
+3
-3
@@ -12,9 +12,9 @@ services:
|
||||
volumes:
|
||||
- todoflow_db_volume:/app/data
|
||||
environment:
|
||||
- DATABASE_URL=sqlite:///app/data/todo.db
|
||||
- API_KEYS_RAW=widget-token-secure-789,ai-agent-token-secure-101
|
||||
- ENV=production
|
||||
- DATABASE_URL=${DATABASE_URL:-sqlite:///app/data/todo.db}
|
||||
- API_KEYS_RAW=${API_KEYS_RAW:-widget-token-secure-789,ai-agent-token-secure-101}
|
||||
- ENV=${ENV:-production}
|
||||
networks:
|
||||
- nginx_default
|
||||
logging:
|
||||
|
||||
Reference in new issue
Block a user