From bd967b68a274f79a0c5f351d228ff9279e0e9a89 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sat, 24 May 2025 17:09:04 +0200 Subject: Initial commit --- syncthing/compose.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 syncthing/compose.yaml (limited to 'syncthing/compose.yaml') diff --git a/syncthing/compose.yaml b/syncthing/compose.yaml new file mode 100644 index 0000000..16d140f --- /dev/null +++ b/syncthing/compose.yaml @@ -0,0 +1,24 @@ +services: + syncthing: + image: syncthing/syncthing:1.29.6 + container_name: syncthing + hostname: VPS + environment: + - PUID=1000 + - PGID=1000 + volumes: + - /data/Synck:/var/syncthing + - /data/music:/var/syncthing/music + ports: + - 10.0.0.1:8384:8384 # Web UI + - 10.0.0.1:22000:22000/tcp # TCP file transfers + - 10.0.0.1:22000:22000/udp # QUIC file transfers + - 10.0.0.1:21027:21027/udp # Receive local discovery broadcasts + restart: unless-stopped + healthcheck: + test: curl -fkLsS -m 2 10.0.0.1:8384/rest/noauth/health | grep -o --color=never + OK || exit 1 + interval: 1m + timeout: 10s + retries: 3 +networks: {} -- cgit v1.2.3