[PATCH] docker-compose: Re-add 'PGPASSWORD' to correct section

Stephen Finucane stephen at that.guru
Thu May 3 01:08:10 AEST 2018


This was moved in commit '1590c21d' but should not have been. Restore it
to its rightful place.

Signed-off-by: Stephen Finucane <stephen at that.guru>
Fixes: 1590c21d ("docker-compose: Remove 'links' section")
Cc: Daniel Axtens <dja at axtens.net>
---
 docker-compose-pg.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/docker-compose-pg.yml b/docker-compose-pg.yml
index fdc3fbef..7bb579c3 100644
--- a/docker-compose-pg.yml
+++ b/docker-compose-pg.yml
@@ -6,8 +6,6 @@ services:
       - ./tools/docker/db/postdata:/var/lib/postgresql/data
     environment:
       - POSTGRES_PASSWORD=password
-      - PGUSER=postgres
-      - PGPASSWORD=password
 
   web:
     build:
@@ -29,3 +27,4 @@ services:
       - PW_TEST_DB_TYPE=postgres
       - PW_TEST_DB_USER=postgres
       - PW_TEST_DB_PASS=password
+      - PGPASSWORD=password
-- 
2.14.3



More information about the Patchwork mailing list