Add healthcheckscript for postgres

This commit is contained in:
Daniel Tschinder
2025-06-24 00:03:28 +00:00
parent 60aebfd9a9
commit 2fd7924e63
3 changed files with 15 additions and 1 deletions

View File

@@ -121,4 +121,4 @@ HEALTHCHECK \
--retries=5 \
--start-period=90s \
--timeout=25s \
CMD pg_isready --dbname="${POSTGRES_DB}" --username="${POSTGRES_USER}" || exit 1
CMD /usr/local/bin/healthcheck.sh