Skip to content

Commit 01f52d3

Browse files
committedMar 4, 2018
fix(healthcheck): fix healthcheck to avoid warnings. Fixes pact-foundation/pact_broker/issues/199
1 parent 6312423 commit 01f52d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
postgres:
66
image: postgres
77
healthcheck:
8-
test: psql postgres --command "select 1"
8+
test: psql postgres --command "select 1" -U postgres
99
ports:
1010
- "5432:5432"
1111
environment:
@@ -33,4 +33,4 @@ services:
3333
- ./ssl/nginx.conf:/etc/nginx/conf.d/default.conf:ro
3434
- ./ssl:/etc/nginx/ssl
3535
ports:
36-
- "8443:443"
36+
- "8443:443"

0 commit comments

Comments
 (0)