docker-compose/syncthing/docker-compose.yml

20 lines
479 B
YAML

services:
syncthing:
image: lscr.io/linuxserver/syncthing:latest
container_name: syncthing
hostname: syncthing #optional
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /mnt/data/storage/syncthing/config:/config
- /mnt/data/storage/syncthing/data:/data
# - /path/to/data2:/data2
ports:
- 8384:8384
- 22000:22000/tcp
- 22000:22000/udp
- 21027:21027/udp
restart: unless-stopped