fix data directories
This commit is contained in:
parent
8f517126d5
commit
d5540fed47
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue