feat: Add WhatsApp Bridge (mautrix-whatsapp) configuration and registration with secure tokens

This commit is contained in:
Kroonk
2026-05-22 13:08:13 +02:00
parent cf68c777f4
commit 5811bf006d
3 changed files with 28 additions and 0 deletions

View File

@@ -62,3 +62,8 @@ oidc_providers:
# Föderation aktivieren
federation_domain_whitelist: []
# Appservice Registrierungen
app_service_config_files:
- /data/whatsapp-registration.yaml

View File

@@ -0,0 +1,11 @@
id: whatsapp
url: http://matrix_whatsapp:29318
as_token: "0a3c59d1cbf443b88cca6147def3c8e83da2fc074d584cfeb3f4b8487e8f3418"
hs_token: "55a049f147eb43a1897cdd5dc49961fbe8694fe52f3a447bbd12abee1905ae10"
sender_localpart: whatsappbot
namespaces:
users:
- exclusive: true
regex: '@whatsapp_.*:mischlabs\.de'
aliases: []
rooms: []

View File

@@ -36,3 +36,15 @@ services:
- "${ELEMENT_PORT:-8088}:80"
volumes:
- ./element-config.json:/app/config.json
whatsapp:
image: dock.mau.dev/mautrix/whatsapp:latest
container_name: matrix_whatsapp
restart: unless-stopped
depends_on:
- synapse
volumes:
- ./data/whatsapp:/data
environment:
- TZ=Europe/Berlin