mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-22 13:52:56 +00:00
Use goss for healthchecks (#223)
* basic healthcheck based on goss * add goss to travis * healtcheck command runs now for all services * add to makefile
This commit is contained in:
@@ -10,6 +10,7 @@ if [ ! -e /kopano/"$SERVICE_TO_START".py ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# TODO this needs fixing as now apt update is always salled (since the value is at least "")
|
||||
[ -n "${ADDITIONAL_KOPANO_PACKAGES// }" ] && apt update
|
||||
[ -n "${ADDITIONAL_KOPANO_PACKAGES// }" ] && for installpkg in $(echo "$ADDITIONAL_KOPANO_PACKAGES" | tr -d '"'); do
|
||||
# shellcheck disable=SC2016 disable=SC2086
|
||||
@@ -86,7 +87,7 @@ grapi)
|
||||
unset "${!KCCONF_@}"
|
||||
exec kopano-grapi serve
|
||||
;;
|
||||
kapid)
|
||||
kapi)
|
||||
if [ "$KCCONF_KAPID_INSECURE" = "yes" ]; then
|
||||
dockerize \
|
||||
-skip-tls-verify \
|
||||
|
||||
Reference in New Issue
Block a user