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

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