Merge pull request #49 from keitaroinc/pgdata

Add PGDATA env var to db service in compose
This commit is contained in:
Blagoja Stojkoski 2021-05-10 15:38:12 +02:00 committed by GitHub
commit 7a40f4ad8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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: