Matrix Docker Ansible eploy
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

134 righe
6.9 KiB

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