From 292955834d823e694f56d8787e117344fe013cef Mon Sep 17 00:00:00 2001 From: kfrajer Date: Sun, 26 Jul 2020 20:11:25 -0400 Subject: [PATCH] [BUGFIX] Fixes breaking change accessing postgres * The propose solution is a workaround to breaking change reported docker-library/postgres (https://github.com/docker-library/postgres/issues/681) * This change assumes the environment is safe as it allows anybody to connect to the database --- docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7dfbc44..8d08e22 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,10 +34,12 @@ services: postgres: restart: always image: postgres:latest + environment: + POSTGRES_HOST_AUTH_METHOD=trust volumes: - db-data:/var/lib/postgresql/data ports: - - "5432:5432" + - "5432:5432" volumes: db-data: