mautrix-whatsapp: Fix doublepuppet token

This commit is contained in:
uumas
2026-10-04 13:14:32 +03:00
parent 46c65afd25
commit cee094f331
2 changed files with 8 additions and 3 deletions

View File

@@ -24,9 +24,12 @@
- name: doublepuppet-token
value: as_token:{{ mautrix_whatsapp_doublepuppet_token }}
- name: encryption-pickle-key
service_container_env:
_mautrix_whatsapp_env:
BRIDGE_DATABASE__URI_FILE: /run/secrets/postgres-url
BRIDGE_APPSERVICE__AS_TOKEN_FILE: /run/secrets/as-token
BRIDGE_APPSERVICE__HS_TOKEN_FILE: /run/secrets/hs-token
BRIDGE_ENCRYPTION__PICKLE_KEY: /run/secrets/encryption-pickle-key
"BRIDGE_DOUBLE_PUPPET__SECRETS__{{ mautrix_whatsapp_homeserver_name }}": /run/secrets/doublepuppet-token
_mautrix_whatsapp_dynkey_env:
- key: BRIDGE_DOUBLE_PUPPET__SECRETS__{{ mautrix_whatsapp_homeserver_name | replace('.', '__') }}_FILE
value: /run/secrets/doublepuppet-token
service_container_env: "{{ _mautrix_whatsapp_env | combine(_mautrix_whatsapp_dynkey_env | items2dict) }}"