Merge pull request #49 from keitaroinc/pgdata
Add PGDATA env var to db service in compose
This commit is contained in:
commit
7a40f4ad8b
|
@ -63,6 +63,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- DS_RO_PASS=${DATASTORE_READONLY_PASSWORD}
|
- DS_RO_PASS=${DATASTORE_READONLY_PASSWORD}
|
||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
|
- PGDATA=/var/lib/postgresql/data/db
|
||||||
volumes:
|
volumes:
|
||||||
- pg_data:/var/lib/postgresql/data
|
- pg_data:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
|
@ -161,6 +161,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- DS_RO_PASS=${DATASTORE_READONLY_PASSWORD}
|
- DS_RO_PASS=${DATASTORE_READONLY_PASSWORD}
|
||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
|
- PGDATA=/var/lib/postgresql/data/db
|
||||||
volumes:
|
volumes:
|
||||||
- pg_data:/var/lib/postgresql/data
|
- pg_data:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
|
@ -61,6 +61,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- DS_RO_PASS=${DATASTORE_READONLY_PASSWORD}
|
- DS_RO_PASS=${DATASTORE_READONLY_PASSWORD}
|
||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
|
- PGDATA=/var/lib/postgresql/data/db
|
||||||
volumes:
|
volumes:
|
||||||
- pg_data:/var/lib/postgresql/data
|
- pg_data:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
Loading…
Reference in New Issue