Skip to content

Commit 0d75941

Browse files
committed
Fix POSTGRES_PASSWORD unset error
Earlier this year docker-library/postgres introduced a breaking change: docker-library/postgres#681 adding POSTGRES_HOST_AUTH_METHOD=trust for now to allow demo to start running. In the long run, we should add production messages for how to configure passwords and secrets more properly for security.
1 parent 24d1a3e commit 0d75941

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ services:
2828
ports:
2929
- 127.0.0.1:5432:5432
3030
restart: always
31+
environment:
32+
- POSTGRES_HOST_AUTH_METHOD=trust
3133
logging:
3234
<<: *logging_default
3335
volumes:

0 commit comments

Comments
 (0)