feat: connect backend to postgres via docker network

This commit is contained in:
2026-02-09 14:21:51 +01:00
parent a84d6b66cd
commit 8b200a546c
6 changed files with 527 additions and 2 deletions

View File

@@ -7,8 +7,9 @@ services:
- "8000:8000"
environment:
- DB_HOST=postgres
- DB_PORT=5432
- DB_USER=${POSTGRES_USER}
- DB_PASS=${POSTGRES_PASSWORD}
- DB_PASSWORD=${POSTGRES_PASSWORD}
- DB_NAME=${POSTGRES_DB}
depends_on:
- postgres