diff --git a/syncthing/docker-compose.yml b/syncthing/docker-compose.yml new file mode 100644 index 0000000..30372fe --- /dev/null +++ b/syncthing/docker-compose.yml @@ -0,0 +1,16 @@ +services: + syncthing: + image: syncthing/syncthing:1.28.0 + container_name: syncthing + hostname: white-syncthing + environment: + - PUID=1873 + - PGID=1873 + volumes: + - /opt/data/syncthing/data:/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