Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

44 rivejä
1.6 KiB

  1. {#
  2. SPDX-FileCopyrightText: 2024 MDAD Team and contributors
  3. SPDX-License-Identifier: AGPL-3.0-or-later
  4. #}
  5. #jinja2: lstrip_blocks: "True"
  6. id: matrix-hookshot # This can be anything, but must be unique within your homeserver
  7. as_token: {{ matrix_hookshot_appservice_token|to_json }} # This again can be a random string
  8. hs_token: {{ matrix_hookshot_homeserver_token|to_json }} # ..as can this
  9. namespaces:
  10. rooms: []
  11. users:
  12. {% if matrix_hookshot_github_enabled %}
  13. - regex: "@_github_.*:{{ matrix_domain }}"
  14. exclusive: true
  15. {% endif %}
  16. {% if matrix_hookshot_gitlab_enabled %}
  17. - regex: "@_gitlab_.*:{{ matrix_domain }}" # Where foobar is your homeserver's domain
  18. exclusive: true
  19. {% endif %}
  20. {% if matrix_hookshot_jira_enabled %}
  21. - regex: "@_jira_.*:{{ matrix_domain }}" # Where foobar is your homeserver's domain
  22. exclusive: true
  23. {% endif %}
  24. {% if matrix_hookshot_generic_enabled %}
  25. - regex: "@{{ matrix_hookshot_generic_userIdPrefix }}.*:{{ matrix_domain }}" # Where foobar is your homeserver's domain // depending on userIdPrefix setting in conf
  26. exclusive: true
  27. {% endif %}
  28. aliases:
  29. - regex: "#github_.+:{{ matrix_domain }}"
  30. exclusive: true
  31. sender_localpart: {{ matrix_hookshot_bot_localpart | to_json }}
  32. url: "http://{{ matrix_hookshot_container_url }}:{{ matrix_hookshot_appservice_port }}" # This should match the bridge.port in your config file
  33. rate_limited: false
  34. {% if matrix_hookshot_encryption_enabled %}
  35. de.sorunome.msc2409.push_ephemeral: true
  36. push_ephemeral: true
  37. org.matrix.msc3202: true
  38. org.matrix.msc3202: true
  39. {% endif %}