From a7ab5d55d349e27e91ada98927658589441fbf4a Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 14 Feb 2024 10:00:27 +0100 Subject: [PATCH] Add syncthing data volumes and update syncthing service template --- templates/compose/syncthing.yaml | 3 ++- templates/service-templates.json | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/templates/compose/syncthing.yaml b/templates/compose/syncthing.yaml index 19ca2c0fa..50d02b57d 100644 --- a/templates/compose/syncthing.yaml +++ b/templates/compose/syncthing.yaml @@ -12,8 +12,9 @@ services: - TZ=Etc/UTC volumes: - 'syncthing-config:/config' + - 'syncthing-data1:/data1' + - 'syncthing-data2:/data2' ports: - - '8384:8384' - '22000:22000/tcp' - '22000:22000/udp' - '21027:21027/udp' diff --git a/templates/service-templates.json b/templates/service-templates.json index dca19cff6..46abb88a8 100644 --- a/templates/service-templates.json +++ b/templates/service-templates.json @@ -492,6 +492,16 @@ "tool" ] }, + "syncthing": { + "documentation": "https:\/\/syncthing.net\/", + "slogan": "Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers in real time, safely protected from prying eyes. Your data is your data alone and you deserve to choose where it is stored, whether it is shared with some third party, and how it\u2019s transmitted over the internet.", + "compose": "c2VydmljZXM6CiAgc3luY3RoaW5nOgogICAgaW1hZ2U6ICdsc2NyLmlvL2xpbnV4c2VydmVyL3N5bmN0aGluZzpsYXRlc3QnCiAgICBlbnZpcm9ubWVudDoKICAgICAgLSBTRVJWSUNFX0ZRRE5fU1lOQ1RISU5HCiAgICAgIC0gUFVJRD0xMDAwCiAgICAgIC0gUEdJRD0xMDAwCiAgICAgIC0gVFo9RXRjL1VUQwogICAgdm9sdW1lczoKICAgICAgLSAnc3luY3RoaW5nLWNvbmZpZzovY29uZmlnJwogICAgICAtICdzeW5jdGhpbmctZGF0YTE6L2RhdGExJwogICAgICAtICdzeW5jdGhpbmctZGF0YTI6L2RhdGEyJwogICAgcG9ydHM6CiAgICAgIC0gJzIyMDAwOjIyMDAwL3RjcCcKICAgICAgLSAnMjIwMDA6MjIwMDAvdWRwJwogICAgICAtICcyMTAyNzoyMTAyNy91ZHAnCg==", + "tags": [ + "filestorage", + "data", + "synchronization" + ] + }, "trigger-with-external-database": { "documentation": "https:\/\/trigger.dev\/docs\/documentation\/guides\/self-hosting", "slogan": "The open source Background Jobs framework for TypeScript",