Custom header for healthcheck

This commit is contained in:
Alexandre
2025-01-06 01:56:43 +01:00
committed by GitHub
parent 9cf0b190b3
commit 99c2400f88
50 changed files with 50 additions and 50 deletions

View File

@@ -117,4 +117,4 @@ HEALTHCHECK \
--retries=5 \
--start-period=30s \
--timeout=25s \
CMD curl --fail "http://127.0.0.1:${HEALTH_PORT}${HEALTH_URL}" &>/dev/null || exit 1
CMD curl -A "HealthCheck: Docker/1.0" -s -f "http://127.0.0.1:${HEALTH_PORT}${HEALTH_URL}" &>/dev/null || exit 1