tripleo-common/healthcheck/panko-api
Martin Mágr f02c9cbffb Add healthcheck script for Panko API
This patch adds script for docker health check of Panko API service.
The script checks API service using curl.

Change-Id: I1109909189b2c14c89913e217e2eb3b520897596
2018-01-23 07:53:15 +00:00

7 lines
195 B
Bash

#!/bin/sh
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
check_url=$(get_url_from_vhost /etc/httpd/conf.d/10-panko_wsgi.conf)
healthcheck_curl ${check_url}