From 42e8e07c3f8927678af78bad899e6551ea27c79c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=A2ne=20Pichou?= Date: Thu, 4 Oct 2018 09:32:02 +0200 Subject: [PATCH] Fix database healthcheck (#318) Because the PostgreSQL user is not always "postgres", do not specify a user to the Healthcheck command. It will also works correctly. Closes #313 --- db/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/Dockerfile b/db/Dockerfile index 37aaeab..671c3de 100644 --- a/db/Dockerfile +++ b/db/Dockerfile @@ -19,7 +19,7 @@ RUN apk add --no-cache \ COPY setup-wale.sh /docker-entrypoint-initdb.d/ #Healthcheck to make sure container is ready -HEALTHCHECK CMD pg_isready -U postgres || exit 1 +HEALTHCHECK CMD pg_isready || exit 1 # Add and configure entrypoint and command COPY entrypoint.sh /