19 lines
568 B
YAML
Executable File
19 lines
568 B
YAML
Executable File
services:
|
|
syncthing:
|
|
image: syncthing/syncthing:1.29
|
|
container_name: syncthing
|
|
hostname: cyka-syncthing
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
volumes:
|
|
- /mnt/data/docker/volumes/captain--sync-data/_data:/var/syncthing
|
|
- /mnt/data/linux/config/syncthing-sparky:/var/syncthing/config
|
|
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
|