compose/syncthing/docker-compose.yml

19 lines
526 B
YAML

version: "3"
services:
syncthing:
image: syncthing/syncthing:latest
container_name: syncthing
hostname: syncthing
environment:
- TZ=America/Moncton
- PUID=1000
- PGID=1000
- STGUIADDRESS=0.0.0.0:8384
volumes:
- /docker/appdata/syncthing/Sync:/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