mash-playbook/docs/services/matterbridge.md
Oliver Lorenz d6b8c40c8d
Adds Matterbridge service (#218)
* adds matterbridge service

* repair docs

* Install Mattebridge role from the MASH organization

---------

Co-authored-by: Oliver Lorenz <Oliver Lorenz>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2024-09-30 14:28:47 +03:00

1.7 KiB

Matterbridge

Matterbridge

Configuration

To enable this service, add the following configuration to your vars.yml file and re-run the installation process:

The configuration itself is documented here

########################################################################
#                                                                      #
# matterbridge                                                         #
#                                                                      #
########################################################################

matterbridge_enabled: true
matterbridge_configuration_toml:
  accounts:
    - protocol: matrix
      identifier: someidentifier
      configuration:
        Server: "https://matrix.example.com"
        Login: "{{ matterbridge_matrix_user }}"
        Password: "{{ matterbridge_matrix_password }}"
        RemoteNickFormat: "{NICK}: "
        NoHomeServerSuffix: "false"

  gateways:
    - name: "A Gateway"
      enable: "true"
      channels:

        - type: inout
          account: matrix.someidentifier
          channel: "!roomA:matrix.example.com"

        - type: inout
          account: matrix.freifunk
          channel: "!roomB:matrix.example.com"

########################################################################
#                                                                      #
# /matterbridge                                                        #
#                                                                      #
########################################################################