1
0
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:
Felix Bartels
2019-08-27 14:56:49 +02:00
committed by GitHub
parent d6744b20e2
commit 4878fc9917
28 changed files with 156 additions and 17 deletions
+2 -1
View File
@@ -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 \