commit
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
||||
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
|
||||
Reference in New Issue
Block a user