From 01f52d3b4bfe03fd1529b70b84a3a5a36453bb74 Mon Sep 17 00:00:00 2001 From: Matt Fellows Date: Sun, 4 Mar 2018 19:14:00 +1100 Subject: [PATCH] fix(healthcheck): fix healthcheck to avoid warnings. Fixes pact-foundation/pact_broker/issues/199 --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6233f7b..18c7682 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: postgres: image: postgres healthcheck: - test: psql postgres --command "select 1" + test: psql postgres --command "select 1" -U postgres ports: - "5432:5432" environment: @@ -33,4 +33,4 @@ services: - ./ssl/nginx.conf:/etc/nginx/conf.d/default.conf:ro - ./ssl:/etc/nginx/ssl ports: - - "8443:443" \ No newline at end of file + - "8443:443"