pms-docker/root/healthcheck.sh

8 lines
158 B
Bash
Raw Normal View History

2017-01-04 14:11:40 +00:00
#!/bin/sh -e
TARGET=localhost
CURL_OPTS="--connect-timeout 15 --silent --show-error --fail"
curl ${CURL_OPTS} "http://${TARGET}:32400/identity" >/dev/null