Fix database HEALTHCHECK with correct user/db name (#330)

Closes #325
This commit is contained in:
Kyâne Pichou 2018-10-17 20:30:46 +02:00 committed by GitHub
parent ec683530be
commit 94c09b61a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 || exit 1
HEALTHCHECK CMD pg_isready -U $POSTGRES_USER -d $POSTGRES_DB || exit 1
# Add and configure entrypoint and command
COPY entrypoint.sh /