From c468ed4728982e1399fb94ade87704f404331f11 Mon Sep 17 00:00:00 2001 From: che0one <167894882+che0one@users.noreply.github.com> Date: Sat, 2 Nov 2024 23:17:30 +0400 Subject: [PATCH] Add healthchecks syncthing.yaml Add healthchecks --- templates/compose/syncthing.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/compose/syncthing.yaml b/templates/compose/syncthing.yaml index b6c896294..930bd048d 100644 --- a/templates/compose/syncthing.yaml +++ b/templates/compose/syncthing.yaml @@ -20,3 +20,8 @@ services: - '22000:22000/tcp' - '22000:22000/udp' - '21027:21027/udp' + healthcheck: + test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8384/"] + interval: 5s + timeout: 20s + retries: 10