Sfoglia il codice sorgente

Enable Telegram self-building

pull/786/head
Panagiotis Georgiadis 5 anni fa
parent
commit
fd540d8592
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 12E540CAB0E2CCF7
2 ha cambiato i file con 3 aggiunte e 12 eliminazioni
  1. +0
    -12
      docs/configuring-playbook-bridge-mautrix-telegram.md
  2. +3
    -0
      group_vars/matrix_servers

+ 0
- 12
docs/configuring-playbook-bridge-mautrix-telegram.md Vedi File

@@ -12,18 +12,6 @@ matrix_mautrix_telegram_api_id: YOUR_TELEGRAM_APP_ID
matrix_mautrix_telegram_api_hash: YOUR_TELEGRAM_API_HASH matrix_mautrix_telegram_api_hash: YOUR_TELEGRAM_API_HASH
``` ```


**Note**: For architectures different from `amd64` you need to trigger a local rebuild:

```yaml
matrix_mautrix_telegram_container_self_build: true
```

Lastly, to take these changes into effect, re-run the playbook:

```yaml
ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,start
```

## Set up Double Puppeting ## Set up Double Puppeting


If you'd like to use [Double Puppeting](https://github.com/tulir/mautrix-telegram/wiki/Authentication#replacing-telegram-accounts-matrix-puppet-with-matrix-account) (hint: you most likely do), you have 2 ways of going about it. If you'd like to use [Double Puppeting](https://github.com/tulir/mautrix-telegram/wiki/Authentication#replacing-telegram-accounts-matrix-puppet-with-matrix-account) (hint: you most likely do), you have 2 ways of going about it.


+ 3
- 0
group_vars/matrix_servers Vedi File

@@ -305,6 +305,9 @@ matrix_mautrix_signal_database_password: "{{ matrix_synapse_macaroon_secret_key
# We don't enable bridges by default. # We don't enable bridges by default.
matrix_mautrix_telegram_enabled: false matrix_mautrix_telegram_enabled: false


# self-building
matrix_mautrix_telegram_container_self_build: "{{ matrix_architecture != 'amd64'}}"

matrix_mautrix_telegram_systemd_required_services_list: | matrix_mautrix_telegram_systemd_required_services_list: |
{{ {{
['docker.service'] ['docker.service']


Caricamento…
Annulla
Salva