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
This commit is contained in:
parent
f69ea9e8af
commit
f02c9cbffb
6
healthcheck/panko-api
Normal file
6
healthcheck/panko-api
Normal file
@ -0,0 +1,6 @@
|
||||
#!/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}
|
Loading…
Reference in New Issue
Block a user