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

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