add syncthing

This commit is contained in:
Bendt
2025-12-26 12:13:45 -05:00
parent ea80c9185f
commit 4c2511b04d

33
syncthing-compose.yml Normal file
View File

@@ -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