Files
hetzner_server/services/syncthing.yml
SauravDhakal 1f843fabf7 feat: more services
file browser, n8n, portainer, syncthing, uptime-kuma, watchtower
2026-03-30 22:39:23 +05:45

17 lines
537 B
YAML

services:
syncthing:
image: syncthing/syncthing:latest
restart: unless-stopped
user: "1000:1000"
ports:
- "127.0.0.1:8384:8384" # web UI — VPN only via Caddy
- "22000:22000/tcp" # sync protocol — needs to be public
- "22000:22000/udp"
- "21027:21027/udp" # discovery
environment:
- PUID=1000
- PGID=1000
volumes:
- /home/saurav/hetzner_self/data/syncthing:/var/syncthing
# NOTE: - /home/saurav/cloud:/sync/cloud # sync your cloud folder