Add PGDATA env var to db service in compose
This commit is contained in:
parent
48e67ad82a
commit
c51d5eb6bf
|
@ -58,6 +58,7 @@ services:
|
|||
args:
|
||||
- DS_RO_PASS=${DATASTORE_READONLY_PASSWORD}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- PGDATA=/var/lib/postgresql/data/db
|
||||
networks:
|
||||
- backend
|
||||
environment:
|
||||
|
|
|
@ -156,6 +156,7 @@ services:
|
|||
args:
|
||||
- DS_RO_PASS=${DATASTORE_READONLY_PASSWORD}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- PGDATA=/var/lib/postgresql/data/db
|
||||
networks:
|
||||
- backend
|
||||
environment:
|
||||
|
|
|
@ -61,6 +61,7 @@ services:
|
|||
environment:
|
||||
- DS_RO_PASS=${DATASTORE_READONLY_PASSWORD}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- PGDATA=/var/lib/postgresql/data/db
|
||||
volumes:
|
||||
- pg_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
|
|
Loading…
Reference in New Issue