Skip to content

Commit 45914f9

Browse files
authored
Set POSTGRES_HOST_AUTH_METHOD environment variable (#4740)
Redash's docker-compose file will no longer bring up an environment from a cold start due to recent upstream changes to the postgres image that force the user to either set a password for the default superuser or opt-in to allowing all connections without a password via environment variable. Upstream PR: docker-library/postgres#658 Related Discussion: docker-library/postgres#681
1 parent 1e9b8f1 commit 45914f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ services:
6262
- "15432:5432"
6363
command: "postgres -c fsync=off -c full_page_writes=off -c synchronous_commit=OFF"
6464
restart: unless-stopped
65+
environment:
66+
POSTGRES_HOST_AUTH_METHOD: "trust"
6567
email:
6668
image: djfarrelly/maildev
6769
ports:

0 commit comments

Comments
 (0)