use dbname and username from config for healtcheck

This commit is contained in:
Daniel Tschinder
2025-06-23 21:37:13 +02:00
committed by GitHub
parent 204e84aee9
commit 1600aa7cee

View File

@@ -121,4 +121,4 @@ HEALTHCHECK \
--retries=5 \
--start-period=90s \
--timeout=25s \
CMD pg_isready -d postgres || exit 1
CMD pg_isready --dbname="${POSTGRES_DB}" --username="${POSTGRES_USER}" || exit 1