Files
11note-docker-nginx/rootfs/usr/local/bin/healthcheck.sh
2023-12-14 09:10:57 +01:00

3 lines
139 B
Bash

#!/bin/ash
HEALTHCHECK_URL=${HEALTHCHECK_URL:-https://localhost:8443/ping}
curl --insecure --max-time 3 -kILs --fail ${HEALTHCHECK_URL}