compose: проброс CONTOUR_API_URL/CONTOUR_TOKEN в backend (без них env из .env не доходит до контейнера)
This commit is contained in:
+3
-1
@@ -34,9 +34,11 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=${DATABASE_URL:-postgresql://postgres:***@postgres:5432/vector_mchs}
|
- DATABASE_URL=${DATABASE_URL:-postgresql://postgres:postgres@postgres:5432/vector_mchs}
|
||||||
- JWT_SECRET=${JWT_SECRET:-change-me-in-production}
|
- JWT_SECRET=${JWT_SECRET:-change-me-in-production}
|
||||||
- CORS_ORIGINS=${CORS_ORIGINS:-http://localhost:3000}
|
- CORS_ORIGINS=${CORS_ORIGINS:-http://localhost:3000}
|
||||||
|
- CONTOUR_API_URL=${CONTOUR_API_URL:-}
|
||||||
|
- CONTOUR_TOKEN=${CONTOUR_TOKEN:-}
|
||||||
- PYTHONPATH=/app
|
- PYTHONPATH=/app
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
|
|||||||
Reference in New Issue
Block a user