Healthcheck

This commit is contained in:
alexbelgium
2025-05-28 10:49:12 +02:00
parent 9c32f690a2
commit a6f2f48368

View File

@@ -114,6 +114,11 @@ LABEL \
# 6 HealthcheckNOT #
####################
HEALTHCHECK NONE
# Can't be implemented as container is optimized for memory usage, so the webserver and Node are spun down during idle
ENV HEALTH_PORT="" \
HEALTH_URL=""
HEALTHCHECK \
--interval=5s \
--retries=5 \
--start-period=90s \
--timeout=25s \
CMD pg_isready || exit 1