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

21 lines
586 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:
folder.view2: "Services"