Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Add healthchecks syncthing.yaml

che0onec468ed472898
diff --git a/templates/compose/syncthing.yaml b/templates/compose/syncthing.yaml
index b6c8962942..930bd048d3 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