Matrix Docker Ansible eploy
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

31 řádky
1.2 KiB

  1. #jinja2: lstrip_blocks: "True"
  2. id: matrix-hookshot # This can be anything, but must be unique within your homeserver
  3. as_token: {{ matrix_hookshot_appservice_token|to_json }} # This again can be a random string
  4. hs_token: {{ matrix_hookshot_homeserver_token|to_json }} # ..as can this
  5. namespaces:
  6. rooms: []
  7. users:
  8. {% if matrix_hookshot_github_enabled %}
  9. - regex: "@_github_.*:{{ matrix_domain }}"
  10. exclusive: true
  11. {% endif %}
  12. {% if matrix_hookshot_gitlab_enabled %}
  13. - regex: "@_gitlab_.*:{{ matrix_domain }}" # Where foobar is your homeserver's domain
  14. exclusive: true
  15. {% endif %}
  16. {% if matrix_hookshot_jira_enabled %}
  17. - regex: "@_jira_.*:{{ matrix_domain }}" # Where foobar is your homeserver's domain
  18. exclusive: true
  19. {% endif %}
  20. {% if matrix_hookshot_generic_enabled %}
  21. - regex: "@{{ matrix_hookshot_generic_userIdPrefix }}.*:{{ matrix_domain }}" # Where foobar is your homeserver's domain // depending on userIdPrefix setting in conf
  22. exclusive: true
  23. {% endif %}
  24. aliases:
  25. - regex: "#github_.+:{{ matrix_domain }}"
  26. exclusive: true
  27. sender_localpart: hookshot
  28. url: "http://{{ matrix_hookshot_container_url }}:{{ matrix_hookshot_appservice_port }}" # This should match the bridge.port in your config file
  29. rate_limited: false