Hardened the database configuration in the Website service target.

This commit is contained in:
2026-08-10 23:42:22 +02:00
parent a88569ad4c
commit 19fa9d8d8c
4 changed files with 107 additions and 84 deletions
+5 -3
View File
@@ -17,8 +17,12 @@ services:
environment:
LOG_LEVEL: debug
DATABASE_DRIVER: ${DATABASE_DRIVER:-inMemory}
DATABASE_HOST: ${DATABASE_HOST:-localhost}
DATABASE_HOST: postgres
DATABASE_TLS: ${DATABASE_TLS:-off}
depends_on:
postgres:
condition: service_healthy
required: false
# Local development database, started only with the `database` profile so a plain `docker compose up` still runs the
# in-memory backend:
@@ -45,6 +49,4 @@ services:
retries: 10
start_period: 30s
volumes:
# postgres:18 keeps its data directory under /var/lib/postgresql/<major>/docker, so the whole
# /var/lib/postgresql tree is mounted — not the pre-18 /var/lib/postgresql/data path.
- ./Tests/DB:/var/lib/postgresql