Merge pull request #1925 from danez/patch-1

[postgres 15 & 17] use dbname and username from config for healtcheck
This commit is contained in:
Alexandre
2025-06-23 21:41:56 +02:00
committed by GitHub

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