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

130 строки
5.7 KiB

  1. matrix_dimension_enabled: false
  2. # You are required to specify an access token for Dimension to work.
  3. # For information on how to acquire an access token, visit https://t2bot.io/docs/access_tokens
  4. matrix_dimension_access_token: ""
  5. # Users in form: ['@user1:domain.com', '@user2:domain.com']
  6. matrix_dimension_admins: []
  7. # Whether to allow Dimension widgets serve websites with invalid or self signed SSL certificates
  8. matrix_dimension_widgets_allow_self_signed_ssl_certificates: false
  9. matrix_dimension_base_path: "{{ matrix_base_data_path }}/dimension"
  10. matrix_dimension_docker_image: "turt2live/matrix-dimension:latest"
  11. # The user and group id correspond to the node user in the `turt2live/matrix-dimension` image.
  12. matrix_dimension_user_uid: 1000
  13. matrix_dimension_user_gid: 1000
  14. matrix_dimension_container_expose_port: false
  15. matrix_dimension_integrations_ui_url: "https://{{ matrix_server_fqn_dimension }}/riot"
  16. matrix_dimension_integrations_rest_url: "https://{{ matrix_server_fqn_dimension }}/api/v1/scalar"
  17. matrix_dimension_integrations_widgets_urls: ["https://{{ matrix_server_fqn_dimension }}/widgets"]
  18. matrix_dimension_integrations_jitsi_widget_url: "https://{{ matrix_server_fqn_dimension }}/widgets/jitsi"
  19. # Default Dimension configuration template which covers the generic use case.
  20. # You can customize it by controlling the various variables inside it.
  21. #
  22. # For a more advanced customization, you can extend the default (see `matrix_dimension_configuration_extension_yaml`)
  23. # or completely replace this variable with your own template.
  24. matrix_dimension_configuration_yaml: |
  25. # The web settings for the service (API and UI).
  26. # It is best to have this run on localhost and use a reverse proxy to access Dimension.
  27. web:
  28. port: 8184
  29. address: '0.0.0.0'
  30. # Homeserver configuration
  31. homeserver:
  32. # The domain name of the homeserver. This is used in many places, such as with go-neb
  33. # setups, to identify the homeserver.
  34. name: "{{ matrix_domain }}"
  35. # The URL that Dimension, go-neb, and other services provisioned by Dimension should
  36. # use to access the homeserver with.
  37. clientServerUrl: "https://{{ matrix_server_fqn_matrix }}"
  38. # The URL that Dimension should use when trying to communicate with federated APIs on
  39. # the homeserver. If not supplied or left empty Dimension will try to resolve the address
  40. # through the normal federation process.
  41. federationUrl: "http://matrix-synapse:8048"
  42. # The URL that Dimension will redirect media requests to for downloading media such as
  43. # stickers. If not supplied or left empty Dimension will use the clientServerUrl.
  44. #mediaUrl: "https://t2bot.io"
  45. # The access token Dimension should use for miscellaneous access to the homeserver. This
  46. # should be for a user on the configured homeserver: any user will do, however it is
  47. # recommended to use a dedicated user (such as @dimension:t2bot.io). For information on
  48. # how to acquire an access token, visit https://t2bot.io/docs/access_tokens
  49. accessToken: "{{ matrix_dimension_access_token }}"
  50. # These users can modify the integrations this Dimension supports.
  51. # To access the admin interface, open Dimension in Riot and click the settings icon.
  52. admins: {{ matrix_dimension_admins|to_json }}
  53. # IPs and CIDR ranges listed here will be blocked from being widgets.
  54. # Note: Widgets may still be embedded with restricted content, although not through Dimension directly.
  55. widgetBlacklist:
  56. - 10.0.0.0/8
  57. - 172.16.0.0/12
  58. - 192.168.0.0/16
  59. - 127.0.0.0/8
  60. # Where the database for Dimension is
  61. database:
  62. file: "dimension.db"
  63. # Display settings that apply to self-hosted go-neb instances
  64. goneb:
  65. # The avatars to set for each bot. Usually these don't need to be changed, however if your homeserver
  66. # is not able to reach t2bot.io then you should specify your own here. To not use an avatar for a bot,
  67. # make the bot's avatar an empty string.
  68. avatars:
  69. giphy: "mxc://t2bot.io/c5eaab3ef0133c1a61d3c849026deb27"
  70. imgur: "mxc://t2bot.io/6749eaf2b302bb2188ae931b2eeb1513"
  71. github: "mxc://t2bot.io/905b64b3cd8e2347f91a60c5eb0832e1"
  72. wikipedia: "mxc://t2bot.io/7edfb54e9ad9e13fec0df22636feedf1"
  73. travisci: "mxc://t2bot.io/7f4703126906fab8bb27df34a17707a8"
  74. rss: "mxc://t2bot.io/aace4fcbd045f30afc1b4e5f0928f2f3"
  75. google: "mxc://t2bot.io/636ad10742b66c4729bf89881a505142"
  76. guggy: "mxc://t2bot.io/e7ef0ed0ba651aaf907655704f9a7526"
  77. echo: "mxc://t2bot.io/3407ff2db96b4e954fcbf2c6c0415a13"
  78. circleci: "mxc://t2bot.io/cf7d875845a82a6b21f5f66de78f6bee"
  79. jira: "mxc://t2bot.io/f4a38ebcc4280ba5b950163ca3e7c329"
  80. # Settings for controlling how logging works
  81. logging:
  82. file: /dev/null
  83. console: true
  84. consoleLevel: verbose
  85. fileLevel: info
  86. rotate:
  87. size: 52428800 # bytes, default is 50mb
  88. count: 5
  89. matrix_dimension_configuration_extension_yaml: |
  90. # Your custom YAML configuration for Dimension goes here.
  91. # This configuration extends the default starting configuration (`matrix_dimension_configuration_yaml`).
  92. #
  93. # You can override individual variables from the default configuration, or introduce new ones.
  94. #
  95. # If you need something more special, you can take full control by
  96. # completely redefining `matrix_dimension_configuration_yaml`.
  97. #
  98. # Example configuration extension follows:
  99. # telegram:
  100. # botToken: "YourTokenHere"
  101. #
  102. # Holds the final Dimension configuration (a combination of the default and its extension).
  103. # You most likely don't need to touch this variable. Instead, see `matrix_dimension_configuration_yaml`.
  104. matrix_dimension_configuration: "{{ matrix_dimension_configuration_yaml|from_yaml|combine(matrix_dimension_configuration_extension, recursive=True) }}"