2022-08-21 11:04:47 +02:00
---
# matrix_ldap_registration_proxy - Want to build a large-scale Matrix server using external registration on LDAP?
# Project source code URL: https://gitlab.com/activism.international/matrix_ldap_registration_proxy
2022-09-04 08:53:26 +02:00
matrix_ldap_registration_proxy_enabled : true
2022-08-21 11:04:47 +02:00
2022-09-29 18:00:14 +02:00
matrix_ldap_registration_proxy_docker_image : matrix_ldap_registration_proxy
2022-08-21 11:04:47 +02:00
matrix_ldap_registration_proxy_container_image_self_build_repo : "https://gitlab.com/activism.international/matrix_ldap_registration_proxy.git"
matrix_ldap_registration_proxy_container_image_self_build_branch : "{{ matrix_ldap_registration_proxy_version }}"
matrix_ldap_registration_proxy_version : "296246afc6a9b3105e67fcf6621cf05ebc74b873"
matrix_ldap_registration_proxy_base_path : "{{ matrix_base_data_path }}/matrix_ldap_registration_proxy"
# We need the docker src directory to be named matrix_ldap_registration_proxy.
matrix_ldap_registration_proxy_docker_src_files_path : "{{ matrix_ldap_registration_proxy_base_path }}/docker-src/matrix_ldap_registration_proxy"
matrix_ldap_registration_proxy_config_path : "{{ matrix_ldap_registration_proxy_base_path }}/config"
2022-09-04 08:56:03 +02:00
matrix_ldap_registration_proxy_ldap_uri : ""
matrix_ldap_registration_proxy_ldap_base_dn : ""
matrix_ldap_registration_proxy_ldap_user : ""
matrix_ldap_registration_proxy_ldap_password : ""
2022-08-21 11:04:47 +02:00
matrix_ldap_registration_proxy_matrix_server_name : "{{ matrix_domain }}"
matrix_ldap_registration_proxy_matrix_server_url : "https://{{ matrix_server_fqn_matrix }}"
2022-09-29 18:00:14 +02:00
matrix_ldap_registration_proxy_registration_endpoint : "/_matrix/client/r0/register"
2022-08-21 11:04:47 +02:00
# Controls whether the self-check feature should validate SSL certificates.
matrix_matrix_ldap_registration_proxy_self_check_validate_certificates : true
matrix_ldap_registration_proxy_container_port : 8080
# Controls whether the matrix_ldap_registration_proxy container exposes its HTTP port (tcp/{{ matrix_ldap_registration_proxy_container_port }} in the container).
#
# Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:8080"), or empty string to not expose.
2022-09-29 18:00:14 +02:00
matrix_ldap_registration_proxy_container_http_host_bind_port : ''
2022-08-21 11:04:47 +02:00
2022-09-16 19:16:45 +02:00
# `matrix_ldap_registration_proxy_container_http_host_bind_port_number_raw` contains the raw port number extracted from `matrix_ldap_registration_proxy_container_http_host_bind_port`,
2022-09-29 18:00:14 +02:00
# which can contain values like this: ('1234', '127.0.0.1:1234', '0.0.0.0:1234')
matrix_ldap_registration_proxy_container_http_host_bind_port_number_raw : "{{ '' if matrix_ldap_registration_proxy_container_http_host_bind_port == '' else (matrix_ldap_registration_proxy_container_http_host_bind_port.split(':')[1] if ':' in matrix_ldap_registration_proxy_container_http_host_bind_port else matrix_ldap_registration_proxy_container_http_host_bind_port) }}"
2022-09-16 19:16:45 +02:00
matrix_ldap_registration_proxy_registration_addr_with_container : "matrix-ldap_registration-proxy:{{ matrix_ldap_registration_proxy_container_http_host_bind_port_number_raw }}"
matrix_ldap_registration_proxy_registration_addr_sans_container : "127.0.0.1:{{ matrix_ldap_registration_proxy_container_http_host_bind_port_number_raw }}"
2022-09-04 19:38:27 +02:00
2022-08-21 11:04:47 +02:00
# A list of extra arguments to pass to the container
matrix_ldap_registration_proxy_container_extra_arguments : [ ]
# List of systemd services that matrix_ldap_registration_proxy.service depends on
matrix_ldap_registration_proxy_systemd_required_services_list : [ 'docker.service' ]
# List of systemd services that matrix_ldap_registration_proxy.service wants
matrix_ldap_registration_proxy_systemd_wanted_services_list : [ ]
2022-09-04 09:09:09 +02:00
# Additional environment variables to pass to the LDAP proxy environment variables.
#
# Example:
# matrix_ldap_registration_proxy_env_variables_extension: |
# KEY=value
matrix_ldap_registration_proxy_env_variables_extension : ''