mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-07-16 22:46:39 +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" ]
|
||||
|
||||
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:
|
||||
/usr/share/kopano-kweb/www/config/kopano/meet.json:
|
||||
/tmp/meet.json:
|
||||
exists: true
|
||||
mode: "0644"
|
||||
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
|
||||
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" ]
|
||||
|
||||
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:
|
||||
/run/sessions:
|
||||
exists: true
|
||||
mode: "0755"
|
||||
size: 4096
|
||||
owner: www-data
|
||||
group: www-data
|
||||
filetype: directory
|
||||
contains: []
|
||||
/usr/lib/php/20180731/mapi.so:
|
||||
exists: true
|
||||
mode: "0644"
|
||||
|
Loading…
x
Reference in New Issue
Block a user