docker-containers/syncthing/docker-compose.yml

16 lines
453 B
YAML

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