fix data directories

This commit is contained in:
b1ek 2023-03-12 11:46:21 +10:00
parent 8f517126d5
commit d5540fed47
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 2 additions and 1 deletions

View File

@ -23,8 +23,9 @@ services:
POSTGRES_PASSWORD: '${DB_PASSWORD}' POSTGRES_PASSWORD: '${DB_PASSWORD}'
POSTGRES_USER: '${DB_USERNAME}' POSTGRES_USER: '${DB_USERNAME}'
POSTGRES_DB: '${DB_DATABASE}' POSTGRES_DB: '${DB_DATABASE}'
PGDATA: '/var/lib/pgdata/data'
volumes: volumes:
- './data/db:/var/lib/postgresql' - './data/db:/var/lib/pgdata/data'
networks: networks:
- homepage - homepage