syncthing
This commit is contained in:
parent
f863db5156
commit
5ed8d8213f
|
|
@ -0,0 +1 @@
|
|||
# VARIABLE=value #comment
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
services:
|
||||
syncthing:
|
||||
image: syncthing/syncthing
|
||||
container_name: syncthing
|
||||
restart: always
|
||||
hostname: docker1
|
||||
ports:
|
||||
- 8384:8384
|
||||
volumes:
|
||||
- /docker/data/syncthing/data:/var/syncthing
|
||||
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
|
||||
networks:
|
||||
- caddy_default
|
||||
networks:
|
||||
caddy_default:
|
||||
external: true
|
||||
|
||||
Loading…
Reference in New Issue