mirror of
https://github.com/R0m1k3/TodoFlow.git
synced 2026-10-20 13:48:12 +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:
|
volumes:
|
||||||
- todoflow_db_volume:/app/data
|
- todoflow_db_volume:/app/data
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=sqlite:///app/data/todo.db
|
- DATABASE_URL=${DATABASE_URL:-sqlite:///app/data/todo.db}
|
||||||
- API_KEYS_RAW=widget-token-secure-789,ai-agent-token-secure-101
|
- API_KEYS_RAW=${API_KEYS_RAW:-widget-token-secure-789,ai-agent-token-secure-101}
|
||||||
- ENV=production
|
- ENV=${ENV:-production}
|
||||||
networks:
|
networks:
|
||||||
- nginx_default
|
- nginx_default
|
||||||
logging:
|
logging:
|
||||||
|
|||||||
Reference in new issue
Block a user