syncthing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user