compose: проброс CONTOUR_API_URL/CONTOUR_TOKEN в backend (без них env из .env не доходит до контейнера)

This commit is contained in:
2026-09-25 10:51:55 +03:00
parent a1de5794e2
commit 05d6b3ce68
+3 -1
View File
@@ -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: