From af93176bbefca4033cdb8fe8442b593d21785bf8 Mon Sep 17 00:00:00 2001 From: glass beadian Date: Tue, 13 Oct 2026 16:05:48 +0000 Subject: [PATCH] ops: tuwunel loads appservice registrations via TUWUNEL_APPSERVICE_DIR Inline [appservice.*] tables drop the namespaces field (registration then fails M_EXCLUSIVE for every AS user). The env var points tuwunel at the /appservices mount (telegram + hub YAMLs, both with namespaces). --- infra/occupymedia/docker-compose.chat.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/infra/occupymedia/docker-compose.chat.yml b/infra/occupymedia/docker-compose.chat.yml index b2dbbde..7fa2b32 100644 --- a/infra/occupymedia/docker-compose.chat.yml +++ b/infra/occupymedia/docker-compose.chat.yml @@ -9,6 +9,10 @@ services: conduwuit: image: tuwunel:v1.9.4 command: ["-c", "/etc/tuwunel/tuwunel.toml"] + environment: + # Appservice registrations (telegram + hub) load from this directory; the + # hub AS owns the exclusive hub_* namespace for in-app Chat sign-in. + TUWUNEL_APPSERVICE_DIR: /appservices volumes: - tuwunel_data:/var/lib/conduwuit - /opt/occupymedia/tuwunel.toml:/etc/tuwunel/tuwunel.toml:ro