mautrix-whatsapp: Fix doublepuppet token
This commit is contained in:
@@ -31,7 +31,9 @@ argument_specs:
|
|||||||
required: false
|
required: false
|
||||||
default: WhatsApp bridge
|
default: WhatsApp bridge
|
||||||
mautrix_whatsapp_default_relays:
|
mautrix_whatsapp_default_relays:
|
||||||
description: List of user login IDs which anyone can set as a relay, as long as the relay user is in the room
|
description: >-
|
||||||
|
List of user login IDs which anyone can set as a relay, as long as the relay user is in the room.
|
||||||
|
User login ID is the remote network identifier shown when running list-logins in the management room.
|
||||||
type: list
|
type: list
|
||||||
required: false
|
required: false
|
||||||
default: []
|
default: []
|
||||||
|
|||||||
@@ -24,9 +24,12 @@
|
|||||||
- name: doublepuppet-token
|
- name: doublepuppet-token
|
||||||
value: as_token:{{ mautrix_whatsapp_doublepuppet_token }}
|
value: as_token:{{ mautrix_whatsapp_doublepuppet_token }}
|
||||||
- name: encryption-pickle-key
|
- name: encryption-pickle-key
|
||||||
service_container_env:
|
_mautrix_whatsapp_env:
|
||||||
BRIDGE_DATABASE__URI_FILE: /run/secrets/postgres-url
|
BRIDGE_DATABASE__URI_FILE: /run/secrets/postgres-url
|
||||||
BRIDGE_APPSERVICE__AS_TOKEN_FILE: /run/secrets/as-token
|
BRIDGE_APPSERVICE__AS_TOKEN_FILE: /run/secrets/as-token
|
||||||
BRIDGE_APPSERVICE__HS_TOKEN_FILE: /run/secrets/hs-token
|
BRIDGE_APPSERVICE__HS_TOKEN_FILE: /run/secrets/hs-token
|
||||||
BRIDGE_ENCRYPTION__PICKLE_KEY: /run/secrets/encryption-pickle-key
|
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) }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user