From 896de5a40fd2209e9624f7c30a943b26853460d3 Mon Sep 17 00:00:00 2001 From: Marko Bocevski Date: Fri, 7 May 2021 06:03:06 +0200 Subject: [PATCH] Move PGDATA env var to environment section --- compose/docker-compose.yml | 2 +- examples/harvest/docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compose/docker-compose.yml b/compose/docker-compose.yml index 3ea6a4d..5711653 100644 --- a/compose/docker-compose.yml +++ b/compose/docker-compose.yml @@ -58,12 +58,12 @@ services: args: - DS_RO_PASS=${DATASTORE_READONLY_PASSWORD} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} - - PGDATA=/var/lib/postgresql/data/db networks: - backend 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: diff --git a/examples/harvest/docker-compose.yml b/examples/harvest/docker-compose.yml index 775e75c..f0f2d5f 100644 --- a/examples/harvest/docker-compose.yml +++ b/examples/harvest/docker-compose.yml @@ -156,12 +156,12 @@ services: args: - DS_RO_PASS=${DATASTORE_READONLY_PASSWORD} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} - - PGDATA=/var/lib/postgresql/data/db networks: - backend 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: