mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-07-17 06:55:57 +00:00
repair health check for kopano-webapp and kopano-meet (#344)
* json output in the healtcheck is hard to read Signed-off-by: Felix Bartels <felix@host-consultants.de> * fix meet health check after moving json to /tmp Signed-off-by: Felix Bartels <felix@host-consultants.de> * fix webapp health check Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
parent
40981f460b
commit
7eeea1944c
@ -59,5 +59,5 @@ COPY goss.yaml /goss/
|
|||||||
CMD [ "/kopano/start-service.sh" ]
|
CMD [ "/kopano/start-service.sh" ]
|
||||||
|
|
||||||
HEALTHCHECK --interval=1m --timeout=10s \
|
HEALTHCHECK --interval=1m --timeout=10s \
|
||||||
CMD goss -g /goss/goss.yaml validate --format json_oneline
|
CMD goss -g /goss/goss.yaml validate
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
file:
|
file:
|
||||||
/usr/share/kopano-kweb/www/config/kopano/meet.json:
|
/tmp/meet.json:
|
||||||
exists: true
|
exists: true
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
owner: root
|
owner: root
|
||||||
|
@ -42,4 +42,4 @@ CMD ["start.sh"]
|
|||||||
|
|
||||||
# TODO interval does not only define how often the healtcheck is run, but also how long to wait for the first check after startup
|
# TODO interval does not only define how often the healtcheck is run, but also how long to wait for the first check after startup
|
||||||
HEALTHCHECK --interval=60m --timeout=15s \
|
HEALTHCHECK --interval=60m --timeout=15s \
|
||||||
CMD goss -g /goss/goss.yaml validate --format json_oneline
|
CMD goss -g /goss/goss.yaml validate
|
@ -82,4 +82,4 @@ ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
|||||||
CMD [ "/kopano/start.sh" ]
|
CMD [ "/kopano/start.sh" ]
|
||||||
|
|
||||||
HEALTHCHECK --interval=1m --timeout=10s \
|
HEALTHCHECK --interval=1m --timeout=10s \
|
||||||
CMD goss -g /goss/goss.yaml validate --format json_oneline
|
CMD goss -g /goss/goss.yaml validate
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
file:
|
file:
|
||||||
/run/sessions:
|
/run/sessions:
|
||||||
exists: true
|
exists: true
|
||||||
mode: "0755"
|
|
||||||
size: 4096
|
|
||||||
owner: www-data
|
owner: www-data
|
||||||
group: www-data
|
group: www-data
|
||||||
filetype: directory
|
filetype: directory
|
||||||
contains: []
|
|
||||||
/usr/lib/php/20180731/mapi.so:
|
/usr/lib/php/20180731/mapi.so:
|
||||||
exists: true
|
exists: true
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user