Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

82 строки
3.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. # The web settings for the service (API and UI).
  7. # It is best to have this run on localhost and use a reverse proxy to access Dimension.
  8. web:
  9. port: 8184
  10. address: '0.0.0.0'
  11. # Homeserver configuration
  12. homeserver:
  13. # The domain name of the homeserver. This is used in many places, such as with go-neb
  14. # setups, to identify the homeserver.
  15. name: {{ matrix_domain | to_json }}
  16. # The URL that Dimension, go-neb, and other services provisioned by Dimension should
  17. # use to access the homeserver with.
  18. clientServerUrl: {{ matrix_dimension_homeserver_clientServerUrl | to_json }}
  19. # The URL that Dimension should use when trying to communicate with federated APIs on
  20. # the homeserver. If not supplied or left empty Dimension will try to resolve the address
  21. # through the normal federation process.
  22. federationUrl: {{ matrix_dimension_homeserver_federationUrl | to_json }}
  23. # The URL that Dimension will redirect media requests to for downloading media such as
  24. # stickers. If not supplied or left empty Dimension will use the clientServerUrl.
  25. mediaUrl: {{ matrix_dimension_homeserver_mediaUrl | to_json }}
  26. # The access token Dimension should use for miscellaneous access to the homeserver. This
  27. # should be for a user on the configured homeserver: any user will do, however it is
  28. # recommended to use a dedicated user (such as @dimension:t2bot.io). For information on
  29. # how to acquire an access token, visit https://t2bot.io/docs/access_tokens
  30. accessToken: {{ matrix_dimension_access_token | to_json }}
  31. # These users can modify the integrations this Dimension supports.
  32. # To access the admin interface, open Dimension in Element Web and click the settings icon.
  33. admins: {{ matrix_dimension_admins | to_json }}
  34. # IPs and CIDR ranges listed here will be blocked from being widgets.
  35. # Note: Widgets may still be embedded with restricted content, although not through Dimension directly.
  36. widgetBlacklist:
  37. - 10.0.0.0/8
  38. - 172.16.0.0/12
  39. - 192.168.0.0/16
  40. - 127.0.0.0/8
  41. # Where the database for Dimension is
  42. database:
  43. {% if matrix_dimension_database_engine == 'sqlite' %}
  44. file: {{ matrix_dimension_sqlite_database_path_in_container|to_json }}
  45. {% elif matrix_dimension_database_engine == 'postgres' %}
  46. uri: {{ matrix_dimension_database_connection_string|to_json }}
  47. {% endif %}
  48. # Display settings that apply to self-hosted go-neb instances
  49. goneb:
  50. # The avatars to set for each bot. Usually these don't need to be changed, however if your homeserver
  51. # is not able to reach t2bot.io then you should specify your own here. To not use an avatar for a bot,
  52. # make the bot's avatar an empty string.
  53. avatars:
  54. giphy: "mxc://t2bot.io/c5eaab3ef0133c1a61d3c849026deb27"
  55. imgur: "mxc://t2bot.io/6749eaf2b302bb2188ae931b2eeb1513"
  56. github: "mxc://t2bot.io/905b64b3cd8e2347f91a60c5eb0832e1"
  57. wikipedia: "mxc://t2bot.io/7edfb54e9ad9e13fec0df22636feedf1"
  58. travisci: "mxc://t2bot.io/7f4703126906fab8bb27df34a17707a8"
  59. rss: "mxc://t2bot.io/aace4fcbd045f30afc1b4e5f0928f2f3"
  60. google: "mxc://t2bot.io/636ad10742b66c4729bf89881a505142"
  61. guggy: "mxc://t2bot.io/e7ef0ed0ba651aaf907655704f9a7526"
  62. echo: "mxc://t2bot.io/3407ff2db96b4e954fcbf2c6c0415a13"
  63. circleci: "mxc://t2bot.io/cf7d875845a82a6b21f5f66de78f6bee"
  64. jira: "mxc://t2bot.io/f4a38ebcc4280ba5b950163ca3e7c329"
  65. # Settings for how Dimension is represented to the public
  66. dimension:
  67. # This is where Dimension is accessible from clients. Be sure to set this
  68. # to your own Dimension instance.
  69. publicUrl: {{ matrix_dimension_dimension_publicUrl | to_json }}