compose: pass envs to backend

This commit is contained in:
tylen
2026-05-05 12:03:29 +03:00
parent ef5c451c8d
commit 5d231645a7

View File

@@ -4,6 +4,11 @@ services:
context: backend
dockerfile: Dockerfile
restart: always
environment:
- ROOT_PWD=${ROOT_PWD}
- DB_NAME=${DB_NAME}
- DB_SERVER=${DB_SERVER}
- DB_PORT=3306
container_name: "${BACKEND_CT_NAME:-juhannus-invitation-backend}"
depends_on:
- db # Ensure backend waits for db to start