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

113 строки
7.8 KiB

  1. # SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
  2. # SPDX-FileCopyrightText: 2022 Julian-Samuel Gebühr
  3. # SPDX-FileCopyrightText: 2022 MDAD project contributors
  4. #
  5. # SPDX-License-Identifier: AGPL-3.0-or-later
  6. ---
  7. # matrix_ldap_registration_proxy - Want to build a large-scale Matrix server using external registration on LDAP?
  8. # Project source code URL: https://gitlab.com/activism.international/matrix_ldap_registration_proxy
  9. matrix_ldap_registration_proxy_enabled: true
  10. matrix_ldap_registration_proxy_hostname: ''
  11. matrix_ldap_registration_proxy_docker_image: "{{ matrix_ldap_registration_proxy_docker_image_registry_prefix }}matrix_ldap_registration_proxy"
  12. matrix_ldap_registration_proxy_docker_image_registry_prefix: "{{ 'localhost/' if matrix_ldap_registration_proxy_container_image_self_build else matrix_ldap_registration_proxy_docker_image_registry_prefix_upstream }}"
  13. matrix_ldap_registration_proxy_docker_image_registry_prefix_upstream: "{{ matrix_ldap_registration_proxy_docker_image_registry_prefix_upstream_default }}"
  14. matrix_ldap_registration_proxy_docker_image_registry_prefix_upstream_default: ""
  15. matrix_ldap_registration_proxy_container_image_self_build: true
  16. matrix_ldap_registration_proxy_container_image_self_build_repo: "https://gitlab.com/activism.international/matrix_ldap_registration_proxy.git"
  17. matrix_ldap_registration_proxy_container_image_self_build_branch: "{{ matrix_ldap_registration_proxy_version }}"
  18. matrix_ldap_registration_proxy_version: "296246afc6a9b3105e67fcf6621cf05ebc74b873"
  19. matrix_ldap_registration_proxy_base_path: "{{ matrix_base_data_path }}/matrix_ldap_registration_proxy"
  20. # We need the docker src directory to be named matrix_ldap_registration_proxy.
  21. matrix_ldap_registration_proxy_docker_src_files_path: "{{ matrix_ldap_registration_proxy_base_path }}/docker-src/matrix_ldap_registration_proxy"
  22. matrix_ldap_registration_proxy_config_path: "{{ matrix_ldap_registration_proxy_base_path }}/config"
  23. matrix_ldap_registration_proxy_ldap_uri: ""
  24. matrix_ldap_registration_proxy_ldap_base_dn: ""
  25. matrix_ldap_registration_proxy_ldap_user: ""
  26. matrix_ldap_registration_proxy_ldap_password: ""
  27. matrix_ldap_registration_proxy_matrix_server_name: "{{ matrix_domain }}"
  28. matrix_ldap_registration_proxy_matrix_server_url: ""
  29. # Controls whether the self-check feature should validate SSL certificates.
  30. matrix_matrix_ldap_registration_proxy_self_check_validate_certificates: true
  31. matrix_ldap_registration_listen_port: 8080
  32. # Controls whether the matrix_ldap_registration_proxy container exposes its HTTP port (tcp/{{ matrix_ldap_registration_listen_port }} in the container).
  33. #
  34. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:8080"), or empty string to not expose.
  35. matrix_ldap_registration_proxy_container_http_host_bind_port: ''
  36. matrix_ldap_registration_proxy_container_network: ""
  37. matrix_ldap_registration_proxy_container_additional_networks: "{{ matrix_ldap_registration_proxy_container_additional_networks_auto + matrix_ldap_registration_proxy_container_additional_networks_custom }}"
  38. matrix_ldap_registration_proxy_container_additional_networks_auto: []
  39. matrix_ldap_registration_proxy_container_additional_networks_custom: []
  40. # matrix_ldap_registration_proxy_container_labels_traefik_enabled controls whether labels to assist a Traefik reverse-proxy will be attached to the container.
  41. # See `../templates/labels.j2` for details.
  42. #
  43. # To inject your own other container labels, see `matrix_ldap_registration_proxy_container_labels_additional_labels`.
  44. matrix_ldap_registration_proxy_container_labels_traefik_enabled: true
  45. matrix_ldap_registration_proxy_container_labels_traefik_docker_network: "{{ matrix_ldap_registration_proxy_container_network }}"
  46. matrix_ldap_registration_proxy_container_labels_traefik_entrypoints: web-secure
  47. matrix_ldap_registration_proxy_container_labels_traefik_tls_certResolver: default # noqa var-naming
  48. # Controls whether labels will be added that expose ldap-registration-proxy's registration endpoint (matrix_ldap_registration_proxy_container_labels_registration_endpoint_path)
  49. matrix_ldap_registration_proxy_container_labels_registration_endpoint_enabled: true
  50. matrix_ldap_registration_proxy_container_labels_registration_endpoint_hostname: "{{ matrix_ldap_registration_proxy_hostname }}"
  51. matrix_ldap_registration_proxy_container_labels_registration_endpoint_path: "/_matrix/client/{version:(r0|v3)}/register"
  52. matrix_ldap_registration_proxy_container_labels_registration_endpoint_traefik_rule: "Host(`{{ matrix_ldap_registration_proxy_container_labels_registration_endpoint_hostname }}`) && Path(`{{ matrix_ldap_registration_proxy_container_labels_registration_endpoint_path }}`)"
  53. matrix_ldap_registration_proxy_container_labels_registration_endpoint_traefik_priority: 0
  54. matrix_ldap_registration_proxy_container_labels_registration_endpoint_traefik_entrypoints: "{{ matrix_ldap_registration_proxy_container_labels_traefik_entrypoints }}"
  55. matrix_ldap_registration_proxy_container_labels_registration_endpoint_traefik_tls: "{{ matrix_ldap_registration_proxy_container_labels_registration_endpoint_traefik_entrypoints != 'web' }}"
  56. matrix_ldap_registration_proxy_container_labels_registration_endpoint_traefik_tls_certResolver: "{{ matrix_ldap_registration_proxy_container_labels_traefik_tls_certResolver }}" # noqa var-naming
  57. # matrix_ldap_registration_proxy_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file.
  58. # See `../templates/labels.j2` for details.
  59. #
  60. # Example:
  61. # matrix_ldap_registration_proxy_container_labels_additional_labels: |
  62. # my.label=1
  63. # another.label="here"
  64. matrix_ldap_registration_proxy_container_labels_additional_labels: ''
  65. # A list of extra arguments to pass to the container
  66. matrix_ldap_registration_proxy_container_extra_arguments: []
  67. # List of systemd services that matrix-ldap-registration-proxy.service depends on.
  68. matrix_ldap_registration_proxy_systemd_required_services_list: "{{ matrix_ldap_registration_proxy_systemd_required_services_list_default + matrix_ldap_registration_proxy_systemd_required_services_list_auto + matrix_ldap_registration_proxy_systemd_required_services_list_custom }}"
  69. matrix_ldap_registration_proxy_systemd_required_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  70. matrix_ldap_registration_proxy_systemd_required_services_list_auto: []
  71. matrix_ldap_registration_proxy_systemd_required_services_list_custom: []
  72. # List of systemd services that matrix-ldap-registration-proxy.service wants
  73. matrix_ldap_registration_proxy_systemd_wanted_services_list: "{{ matrix_ldap_registration_proxy_systemd_wanted_services_list_default + matrix_ldap_registration_proxy_systemd_wanted_services_list_auto + matrix_ldap_registration_proxy_systemd_wanted_services_list_custom }}"
  74. matrix_ldap_registration_proxy_systemd_wanted_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  75. matrix_ldap_registration_proxy_systemd_wanted_services_list_auto: []
  76. matrix_ldap_registration_proxy_systemd_wanted_services_list_custom: []
  77. # Additional environment variables to pass to the LDAP proxy environment variables.
  78. #
  79. # Example:
  80. # matrix_ldap_registration_proxy_env_variables_extension: |
  81. # KEY=value
  82. matrix_ldap_registration_proxy_env_variables_extension: ''
  83. # matrix_ldap_registration_proxy_restart_necessary controls whether the service
  84. # will be restarted (when true) or merely started (when false) by the
  85. # systemd service manager role (when conditional restart is enabled).
  86. #
  87. # This value is automatically computed during installation based on whether
  88. # any configuration files, the systemd service file, or the container image changed.
  89. # The default of `false` means "no restart needed" — appropriate when the role's
  90. # installation tasks haven't run (e.g., due to --tags skipping them).
  91. matrix_ldap_registration_proxy_restart_necessary: false