add syncthing
This commit is contained in:
33
syncthing-compose.yml
Normal file
33
syncthing-compose.yml
Normal 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
|
||||||
Reference in New Issue
Block a user