From 8953023b907d47051899b12e73503dd3db885364 Mon Sep 17 00:00:00 2001 From: ryuupendragon Date: Sun, 22 Feb 2026 21:21:26 +0530 Subject: [PATCH] Add syncthing --- syncthing/docker-compose.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 syncthing/docker-compose.yml diff --git a/syncthing/docker-compose.yml b/syncthing/docker-compose.yml new file mode 100644 index 0000000..60b8b1a --- /dev/null +++ b/syncthing/docker-compose.yml @@ -0,0 +1,27 @@ +services: + syncthing: + container_name: syncthing + image: ghcr.io/syncthing/syncthing:2.0.14 + restart: unless-stopped + hostname: ${HOSTNAME} + environment: + - PUID=${PUID} + - PGID=${PGID} + volumes: + - ${APPDATA_PATH}/syncthing/data:/var/syncthing + ports: + - 8384:8384 # Web UI + - 22000:22000/tcp # TCP file transfers + - 22000:22000/udp # QUIC file transfers + - 21027:21027/udp # Local discovery broadcasts + 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 + networks: + - frontend + +networks: + frontend: + external: true