docker-compose/syncthing_server.yaml

17 lines
383 B
YAML

version: "3"
services:
syncthing:
image: lscr.io/linuxserver/syncthing:latest
container_name: syncthing
environment:
- PUID=
- PGID=
volumes:
- <docker directory>/syncthing/config:/config
- <sync directory>:/sync
ports:
- 8384:8384
- 22000:22000/tcp
- 22000:22000/udp
- 21027:21027/udp
restart: unless-stopped