diff --git a/weboffice/collabora.yml b/weboffice/collabora.yml index 108078b..fe697f8 100644 --- a/weboffice/collabora.yml +++ b/weboffice/collabora.yml @@ -69,4 +69,7 @@ services: entrypoint: ['/bin/bash', '-c'] command: ['coolconfig generate-proof-key && /start-collabora-online.sh'] healthcheck: - test: ["CMD", "bash", "-c", "exec 3<>/dev/tcp/127.0.0.1/9980 && echo -e 'GET /hosting/discovery HTTP/1.1\r\nHost: localhost:9980\r\n\r\n' >&3 && head -n 1 <&3 | grep '200 OK'"] + test: [ "CMD", "curl", "-f", "http://localhost:9980/hosting/discovery" ] + interval: 15s + timeout: 10s + retries: 5