Skip to content

Instantly share code, notes, and snippets.

@suryakencana007
Created September 4, 2025 08:05
Show Gist options
  • Select an option

  • Save suryakencana007/d70b39ba83bcaa22d6de13870eeeae1f to your computer and use it in GitHub Desktop.

Select an option

Save suryakencana007/d70b39ba83bcaa22d6de13870eeeae1f to your computer and use it in GitHub Desktop.
Syncthing
services:
syncthing:
image: syncthing/syncthing
environment:
- PUID=1000
- PGID=1000
volumes:
- ./data/st-sync:/var/syncthing
ports:
- 8384:8384 # Web UI
- 22000:22000/tcp # TCP file transfers
- 22000:22000/udp # QUIC file transfers
- 21027:21027/udp # Receive local discovery broadcasts
restart: unless-stopped
healthcheck:
test: curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1
interval: 1m
timeout: 10s
retries: 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment