From 691af5208a510aeeab9885fa52d7178dd12f7074 Mon Sep 17 00:00:00 2001 From: "Adrian Alfred C. Bonpin" Date: Thu, 5 Mar 2026 15:41:59 +0800 Subject: [PATCH] feat: add tuwunel template for matrix (re-made) (#733) * feat: add tuwunel template for matrix * fix: replace HTML placeholder with actual SVG logo for tuwunel * fix: remove enforcement and rename logo --- blueprints/tuwunel/docker-compose.yml | 18 ++++++++++++++++++ blueprints/tuwunel/template.toml | 15 +++++++++++++++ blueprints/tuwunel/tuwunel.svg | 4 ++++ meta.json | 18 ++++++++++++++++++ 4 files changed, 55 insertions(+) create mode 100644 blueprints/tuwunel/docker-compose.yml create mode 100644 blueprints/tuwunel/template.toml create mode 100644 blueprints/tuwunel/tuwunel.svg diff --git a/blueprints/tuwunel/docker-compose.yml b/blueprints/tuwunel/docker-compose.yml new file mode 100644 index 00000000..039ba092 --- /dev/null +++ b/blueprints/tuwunel/docker-compose.yml @@ -0,0 +1,18 @@ +version: "3.8" +services: + tuwunel: + image: ghcr.io/matrix-construct/tuwunel:v1.5.0 + restart: always + environment: + - TUWUNEL_SERVER_NAME=${TUWUNEL_SERVER_NAME:-matrix.local} + - TUWUNEL_ALLOW_REGISTRATION=${TUWUNEL_ALLOW_REGISTRATION:-false} + - TUWUNEL_REGISTRATION_TOKEN=${TUWUNEL_REGISTRATION_TOKEN} + - TUWUNEL_ADDRESS=${TUWUNEL_ADDRESS:-0.0.0.0} + - TUWUNEL_PORT=${TUWUNEL_PORT:-6167} + volumes: + - tuwunel-data:/var/lib/tuwunel/ + expose: + - 6167 + +volumes: + tuwunel-data: diff --git a/blueprints/tuwunel/template.toml b/blueprints/tuwunel/template.toml new file mode 100644 index 00000000..80dae5d5 --- /dev/null +++ b/blueprints/tuwunel/template.toml @@ -0,0 +1,15 @@ +[variables] +main_domain = "${domain}" +registration_token = "${password:32}" + +[config] +env = [ + "TUWUNEL_SERVER_NAME=${main_domain}", + "TUWUNEL_REGISTRATION_TOKEN=${registration_token}" +] +mounts = [] + +[[config.domains]] +serviceName = "tuwunel" +port = 6167 +host = "${main_domain}" diff --git a/blueprints/tuwunel/tuwunel.svg b/blueprints/tuwunel/tuwunel.svg new file mode 100644 index 00000000..79ec68b4 --- /dev/null +++ b/blueprints/tuwunel/tuwunel.svg @@ -0,0 +1,4 @@ + + + T + diff --git a/meta.json b/meta.json index f3ec429e..2dbd0497 100644 --- a/meta.json +++ b/meta.json @@ -6188,6 +6188,24 @@ "e-ink" ] }, + { + "id": "tuwunel", + "name": "Tuwunel", + "version": "v1.5.0", + "description": "High performance Matrix homeserver written in Rust. Official successor to conduwuit - a scalable, low-cost, enterprise-ready alternative to Synapse.", + "logo": "tuwunel.svg", + "links": { + "github": "https://github.com/matrix-construct/tuwunel", + "website": "https://tuwunel.chat", + "docs": "https://matrix-construct.github.io/tuwunel/" + }, + "tags": [ + "matrix", + "chat", + "messaging", + "rust" + ] + }, { "id": "twenty", "name": "Twenty CRM",