From 4c2511b04d526ea5312786fdb2c78988b1c47950 Mon Sep 17 00:00:00 2001 From: Bendt Date: Fri, 26 Dec 2025 12:13:45 -0500 Subject: [PATCH] add syncthing --- syncthing-compose.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 syncthing-compose.yml diff --git a/syncthing-compose.yml b/syncthing-compose.yml new file mode 100644 index 0000000..1da9f76 --- /dev/null +++ b/syncthing-compose.yml @@ -0,0 +1,33 @@ +version: "3.8" +services: + syncthing: + image: lscr.io/linuxserver/syncthing:latest + environment: + - PUID=1000 + - PGID=1000 + - TZ=America/New_York + volumes: + - syncthing_config:/config + # Data - The NFS Share + - /mnt/synology-data:/data/nas + ports: + # Sync Protocol (Listening for other devices) + - target: 22000 + published: 22000 + protocol: tcp + mode: host + - target: 22000 + published: 22000 + protocol: udp + mode: host + # Discovery (Optional, helpful for local LAN discovery) + - target: 21027 + published: 21027 + protocol: udp + mode: host +volumes: + syncthing_config: +networks: + default: + external: + name: dokploy-network