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).
This commit is contained in:
glass beadian 2026-10-13 16:05:48 +00:00
parent 189cb41a09
commit af93176bbe

View file

@ -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