1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +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
+3 -2
View File
@@ -59,7 +59,8 @@ ENV LANG=en_US.UTF-8
ENV SERVICE_TO_START=server
COPY defaultconfigs/ start-service.sh /kopano/
COPY defaultconfigs/ start-service.sh healthcheck.sh /kopano/
COPY goss/ /kopano/goss
WORKDIR /kopano/path
@@ -67,5 +68,5 @@ ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD [ "/kopano/start-service.sh" ]
HEALTHCHECK --interval=5m --timeout=60s \
HEALTHCHECK --interval=1m --timeout=10s \
CMD /kopano/healthcheck.sh