Matrix Docker Ansible eploy
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

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