20 lines
536 B
YAML
Executable File
20 lines
536 B
YAML
Executable File
version: "3"
|
|
services:
|
|
syncthing:
|
|
image: syncthing/syncthing:latest
|
|
container_name: syncthing
|
|
hostname: syncthing-fn
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- STGUIADDRESS=0.0.0.0:8384
|
|
volumes:
|
|
- /vol2/1000/docker/syncthing:/var/syncthing
|
|
- /vol3/1000/USBD1/Imports:/data1
|
|
network_mode: host
|
|
restart: always
|
|
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 |