From 8a6adf3958d2b98dc063066b8d679ab7bcf3be97 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Mon, 3 Feb 2025 20:27:58 +0100 Subject: [PATCH] Implemented tmp healthcheck for etherpad --- roles/docker-bigbluebutton/handlers/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/roles/docker-bigbluebutton/handlers/main.yml b/roles/docker-bigbluebutton/handlers/main.yml index 92be90a2..2f992eca 100644 --- a/roles/docker-bigbluebutton/handlers/main.yml +++ b/roles/docker-bigbluebutton/handlers/main.yml @@ -37,6 +37,16 @@ line: " - coturn:/var/lib/coturn" listen: setup bigbluebutton +# Implemented due to etherpad health bug. +# @todo Remove when health check is working fine +# @see https://chatgpt.com/c/67a0fc7e-5104-800f-bb6b-3731e2f83b7b +- name: "Update docker-compose.yml for Etherpad health check" + lineinfile: + line: " healthcheck:\n test: [\"CMD\", \"curl\", \"-f\", \"http://127.0.0.1:9001\"]\n interval: 30s\n timeout: 10s\n retries: 5\n start_period: 10s" + path: "{{docker_compose_file}}" + insertafter: "etherpad:" + listen: setup bigbluebutton + - name: add volumes to docker compose blockinfile: path: "{{docker_compose_file}}"