From 5ed8d8213fe418d44c198c81d02ca6884e85371b Mon Sep 17 00:00:00 2001 From: "azykov@mail.ru" Date: Wed, 22 Apr 2026 23:12:51 +0300 Subject: [PATCH] syncthing --- syncthing/.env | 1 + syncthing/compose.yaml | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 syncthing/.env create mode 100644 syncthing/compose.yaml diff --git a/syncthing/.env b/syncthing/.env new file mode 100644 index 0000000..c23c858 --- /dev/null +++ b/syncthing/.env @@ -0,0 +1 @@ +# VARIABLE=value #comment \ No newline at end of file diff --git a/syncthing/compose.yaml b/syncthing/compose.yaml new file mode 100644 index 0000000..30dd5d3 --- /dev/null +++ b/syncthing/compose.yaml @@ -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 +