aboutsummaryrefslogtreecommitdiffstats
path: root/sources/hv-collector-main/src/main/docker/healthcheck.sh
blob: b2f54e56ca51a8b6853c76e2305aa9ecde6495cf (plain)
1
2
3
4
#!/usr/bin/env sh

curl -f http://localhost:${VESHV_HEALTH_CHECK_API_PORT:-6060}/health/ready || exit 1
nc -vz localhost ${VESHV_LISTEN_PORT:-6061} || exit 2