Created
September 4, 2025 08:05
-
-
Save suryakencana007/d70b39ba83bcaa22d6de13870eeeae1f to your computer and use it in GitHub Desktop.
Syncthing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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