volumes: data: name: syncthing_data services: syncthing: container_name: syncthing image: syncthing/syncthing hostname: syncthing #optional environment: - PUID=1000 - PGID=1000 - TZ=Europe/Paris volumes: - 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