syncthing

This commit is contained in:
azykov@mail.ru 2026-04-22 23:12:51 +03:00
parent f863db5156
commit 5ed8d8213f
2 changed files with 23 additions and 0 deletions

1
syncthing/.env Normal file
View File

@ -0,0 +1 @@
# VARIABLE=value #comment

22
syncthing/compose.yaml Normal file
View File

@ -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