27 lines
634 B
YAML
27 lines
634 B
YAML
services:
|
|
syncthing:
|
|
image: 'syncthing/syncthing:2.0.12'
|
|
container_name: syncthing
|
|
restart: unless-stopped
|
|
environment:
|
|
- PUID=2010 # syncthing
|
|
- PGID=2010 # syncthing
|
|
networks:
|
|
- syncthing_network
|
|
ports:
|
|
- 8384:8384 # Web UI
|
|
- 22000:22000/tcp # TCP file transfers
|
|
- 22000:22000/udp # QUIC file transfers
|
|
- 21027:21027/udp # Receive local discovery broadcasts
|
|
volumes:
|
|
- ./data:/var/syncthing
|
|
labels:
|
|
diun.enable: "true"
|
|
diun.watch_repo: "true"
|
|
diun.include_tags: "latest"
|
|
|
|
networks:
|
|
syncthing_network:
|
|
name: syncthing_network
|
|
|