adjusting path where the database file is saved, so the data persists after reboot

This commit is contained in:
lila 2026-03-31 10:04:50 +02:00
parent 2b177aad5b
commit 068949b4cb

View file

@ -4,6 +4,8 @@ services:
image: postgres:18.3-alpine3.23 image: postgres:18.3-alpine3.23
env_file: env_file:
- .env - .env
environment:
- PGDATA=/var/lib/postgresql/data
ports: ports:
- "5432:5432" - "5432:5432"
volumes: volumes: