Files
docker-compose/file-sync/docker-compose.yml

23 lines
747 B
YAML

services:
syncthing:
image: syncthing/syncthing
container_name: syncthing
hostname: my-syncthing
environment:
- PUID=1006
- PGID=1006
volumes:
- /mnt/user/appdata/syncthing/config:/var/syncthing/config
- /mnt/user/volume1/photo/.lightroom-sync:/var/syncthing/lightroom-sync
network_mode: host
restart: unless-stopped
healthcheck:
test: curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1
interval: 1m
timeout: 10s
retries: 3
labels:
net.unraid.docker.icon: "https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/syncthing.png"
net.unraid.docker.webui: "https://syncthing.homecube.org"
folder.view2: "Services"