Skip to content

Commit e8b218a

Browse files
committed
Fix docker-compose up issue with pg image
The db container is unable to start due to a breaking behavior change in docker-librar/postgres: docker-library/postgres#681 This is the easy fix for localhost development, however documentation should be updated to advise users on how to configure production environments securely.
1 parent 24d1a3e commit e8b218a

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)