# Syncthing - File synchronization # Port: 8384 (web), 22000 (sync) # Continuous file synchronization between devices version: "2.1" services: syncthing: image: lscr.io/linuxserver/syncthing:latest container_name: syncthing hostname: syncthing #optional environment: - PUID=1000 - PGID=1000 - TZ=America/Los_Angeles volumes: - /root/docker/syncthing/config:/config - /root/docker/syncthing/data1 - /root/docker/syncthing/data2 ports: - 8384:8384 - 22000:22000/tcp - 22000:22000/udp - 21027:21027/udp restart: unless-stopped