From fe3497ec51bb9f128af45ca0d7382bc751baf742 Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Thu, 11 Sep 2025 22:05:09 +0200 Subject: [PATCH] enhancement: improve collabora health check --- weboffice/collabora.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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