feat: Add WhatsApp Bridge (mautrix-whatsapp) configuration and registration with secure tokens
This commit is contained in:
@@ -62,3 +62,8 @@ oidc_providers:
|
|||||||
|
|
||||||
# Föderation aktivieren
|
# Föderation aktivieren
|
||||||
federation_domain_whitelist: []
|
federation_domain_whitelist: []
|
||||||
|
|
||||||
|
# Appservice Registrierungen
|
||||||
|
app_service_config_files:
|
||||||
|
- /data/whatsapp-registration.yaml
|
||||||
|
|
||||||
|
|||||||
11
data/whatsapp-registration.yaml
Normal file
11
data/whatsapp-registration.yaml
Normal 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: []
|
||||||
@@ -36,3 +36,15 @@ services:
|
|||||||
- "${ELEMENT_PORT:-8088}:80"
|
- "${ELEMENT_PORT:-8088}:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ./element-config.json:/app/config.json
|
- ./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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user