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.
 
 

123 lines
6.0 KiB

  1. matrix_client_element_enabled: true
  2. matrix_client_element_container_image_self_build: false
  3. matrix_client_element_docker_image: "vectorim/riot-web:v1.7.1"
  4. matrix_client_element_docker_image_force_pull: "{{ matrix_client_element_docker_image.endswith(':latest') }}"
  5. matrix_client_element_data_path: "{{ matrix_base_data_path }}/client-element"
  6. matrix_client_element_docker_src_files_path: "{{ matrix_client_element_data_path }}/docker-src"
  7. # Controls whether the matrix-client-element container exposes its HTTP port (tcp/8080 in the container).
  8. #
  9. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:8765"), or empty string to not expose.
  10. matrix_client_element_container_http_host_bind_port: ''
  11. # A list of extra arguments to pass to the container
  12. matrix_client_element_container_extra_arguments: []
  13. # List of systemd services that matrix-client-element.service depends on
  14. matrix_client_element_systemd_required_services_list: ['docker.service']
  15. # Element config.json customizations
  16. matrix_client_element_default_server_name: "{{ matrix_domain }}"
  17. matrix_client_element_default_hs_url: ""
  18. matrix_client_element_default_is_url: ~
  19. matrix_client_element_disable_custom_urls: true
  20. matrix_client_element_disable_guests: true
  21. matrix_client_element_integrations_ui_url: "https://scalar.vector.im/"
  22. matrix_client_element_integrations_rest_url: "https://scalar.vector.im/api"
  23. matrix_client_element_integrations_widgets_urls: ["https://scalar.vector.im/api"]
  24. matrix_client_element_integrations_jitsi_widget_url: "https://scalar.vector.im/api/widgets/jitsi.html"
  25. matrix_client_element_permalinkPrefix: "https://matrix.to"
  26. # Element public room directory server(s)
  27. matrix_client_element_roomdir_servers: ['matrix.org']
  28. matrix_client_element_welcome_user_id: "@riot-bot:matrix.org"
  29. # Branding of Element
  30. matrix_client_element_brand: "Element"
  31. # URL to Logo on welcome page
  32. matrix_client_element_welcome_logo: "welcome/images/logo.svg"
  33. # URL of link on welcome image
  34. matrix_client_element_welcome_logo_link: "https://element.io"
  35. matrix_client_element_welcome_headline: "_t('Welcome to Element')"
  36. matrix_client_element_welcome_text: "_t('Decentralised, encrypted chat &amp; collaboration powered by [matrix]')"
  37. # Links, shown in footer of welcome page:
  38. # [{"text": "Link text", "url": "https://link.target"}, {"text": "Other link"}]
  39. matrix_client_element_branding_authFooterLinks: ~
  40. # URL to image, shown during Login
  41. matrix_client_element_branding_authHeaderLogoUrl: "{{ matrix_client_element_welcome_logo }}"
  42. # URL to Wallpaper, shown in background of welcome page
  43. matrix_client_element_branding_welcomeBackgroundUrl: ~
  44. # By default, there's no Element homepage (when logged in). If you wish to have one,
  45. # point this to a `home.html` template file on your local filesystem.
  46. matrix_client_element_embedded_pages_home_path: ~
  47. matrix_client_element_jitsi_preferredDomain: ''
  48. # Controls whether the self-check feature should validate SSL certificates.
  49. matrix_client_element_self_check_validate_certificates: true
  50. # don't show the registration button on welcome page
  51. matrix_client_element_registration_enabled: false
  52. # Controls whether presence will be enabled
  53. matrix_client_element_enable_presence_by_hs_url: ~
  54. # Controls whether custom Element themes will be installed.
  55. # When enabled, all themes found in the `matrix_client_element_themes_repository_url` repository
  56. # will be installed and enabled automatically.
  57. matrix_client_element_themes_enabled: false
  58. matrix_client_element_themes_repository_url: https://github.com/aaronraimist/element-themes
  59. # Controls the default theme
  60. matrix_client_element_default_theme: 'light'
  61. # Controls the `settingsDefault.custom_themes` setting of the Element configuration.
  62. # You can use this setting to define custom themes.
  63. #
  64. # Also, look at `matrix_client_element_themes_enabled` for a way to pull in a bunch of custom themes automatically.
  65. # If you define your own themes here and set `matrix_client_element_themes_enabled: true`, your themes will be preserved as well.
  66. #
  67. # Note that for a custom theme to work well, all Element instances that you use must have the same theme installed.
  68. matrix_client_element_settingDefaults_custom_themes: []
  69. # Default Element configuration template which covers the generic use case.
  70. # You can customize it by controlling the various variables inside it.
  71. #
  72. # For a more advanced customization, you can extend the default (see `matrix_client_element_configuration_extension_json`)
  73. # or completely replace this variable with your own template.
  74. #
  75. # The side-effect of this lookup is that Ansible would even parse the JSON for us, returning a dict.
  76. # This is unlike what it does when looking up YAML template files (no automatic parsing there).
  77. matrix_client_element_configuration_default: "{{ lookup('template', 'templates/config.json.j2') }}"
  78. # Your custom JSON configuration for Element should go to `matrix_client_element_configuration_extension_json`.
  79. # This configuration extends the default starting configuration (`matrix_client_element_configuration_default`).
  80. #
  81. # You can override individual variables from the default configuration, or introduce new ones.
  82. #
  83. # If you need something more special, you can take full control by
  84. # completely redefining `matrix_client_element_configuration_default`.
  85. #
  86. # Example configuration extension follows:
  87. #
  88. # matrix_client_element_configuration_extension_json: |
  89. # {
  90. # "disable_3pid_login": true,
  91. # "disable_login_language_selector": true
  92. # }
  93. matrix_client_element_configuration_extension_json: '{}'
  94. matrix_client_element_configuration_extension: "{{ matrix_client_element_configuration_extension_json|from_json if matrix_client_element_configuration_extension_json|from_json is mapping else {} }}"
  95. # Holds the final Element configuration (a combination of the default and its extension).
  96. # You most likely don't need to touch this variable. Instead, see `matrix_client_element_configuration_default`.
  97. matrix_client_element_configuration: "{{ matrix_client_element_configuration_default|combine(matrix_client_element_configuration_extension, recursive=True) }}"