Skip to content

Commit

Permalink
Set POSTGRES_HOST_AUTH_METHOD environment variable (#4740)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ezkl committed Mar 18, 2020
1 parent 1e9b8f1 commit 45914f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ services:
- "15432:5432"
command: "postgres -c fsync=off -c full_page_writes=off -c synchronous_commit=OFF"
restart: unless-stopped
environment:
POSTGRES_HOST_AUTH_METHOD: "trust"
email:
image: djfarrelly/maildev
ports:
Expand Down

0 comments on commit 45914f9

Please sign in to comment.