From 9380e995975f8a32f8b1b36b7f01b60aa66b625c Mon Sep 17 00:00:00 2001
From: James <thumbscrw@pm.me>
Date: Sat, 7 May 2022 15:59:57 +0100
Subject: [PATCH] disable health checks on fed workers

---
 docker-compose.yaml | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/docker-compose.yaml b/docker-compose.yaml
index 0912c46..daeecbb 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -112,10 +112,7 @@ services:
     restart: unless-stopped
     entrypoint: ["/start.py", "run", "--config-path=/data/${CONFIG_FILE_NAME}", "--config-path=/data/federation_sender_worker_1.yaml"]
     healthcheck:
-      test: ["CMD-SHELL", "curl -fSs http://localhost:8081/health || exit 1"]
-      start_period: "5s"
-      interval: "15s"
-      timeout: "5s"
+      disable: true
     volumes:
       - ${VOLUME_PATH}/data:/data:rw
     logging:
@@ -137,10 +134,7 @@ services:
     restart: unless-stopped
     entrypoint: ["/start.py", "run", "--config-path=/data/${CONFIG_FILE_NAME}", "--config-path=/data/federation_sender_worker_2.yaml"]
     healthcheck:
-      test: ["CMD-SHELL", "curl -fSs http://localhost:8081/health || exit 1"]
-      start_period: "5s"
-      interval: "15s"
-      timeout: "5s"
+      disable: true
     volumes:
       - ${VOLUME_PATH}/data:/data:rw
     logging: