We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c8c1b2 commit f3f27ffCopy full SHA for f3f27ff
skipper/healthcheck.sh
@@ -7,7 +7,7 @@
7
8
9
if [ "${SKIPPER_CONTAINER_TYPE}" == "CELERY" ]; then
10
- exit 0
+ celery -A skipper inspect ping -d celery@$HOSTNAME || exit 1
11
elif [ "${SKIPPER_CONTAINER_TYPE}" == "DJANGO" ]; then
12
[ $(curl -A 'docker-healthcheck DJANGO' -fail -H 'Host: skipper.local' http://localhost:8000/api/ -o /dev/stderr -w '%{http_code}') -eq 403 ] || exit 1
13
elif [ "${SKIPPER_CONTAINER_TYPE}" == "DJANGO_INTERNAL" ]; then
0 commit comments