mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-14 11:20:16 +00:00
41e1da2ff4
* Make registration proxy independent of other roles, document Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net> * Fix yml issues Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net> * Remove undefined variable (as service HAS to be exposed Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net> * Add registration endpint Defines the registration endpoint that should be intercepted/forwarded to the proxy Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net> * Add image name Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net> Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>
59 lines
3.6 KiB
YAML
59 lines
3.6 KiB
YAML
---
|
|
# 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
|
|
|
|
matrix_ldap_registration_proxy_enabled: true
|
|
|
|
matrix_ldap_registration_proxy_docker_image: matrix_ldap_registration_proxy
|
|
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"
|
|
|
|
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: ""
|
|
matrix_ldap_registration_proxy_matrix_server_name: "{{ matrix_domain }}"
|
|
matrix_ldap_registration_proxy_matrix_server_url: "https://{{ matrix_server_fqn_matrix }}"
|
|
|
|
matrix_ldap_registration_proxy_registration_endpoint: "/_matrix/client/r0/register"
|
|
|
|
# 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.
|
|
matrix_ldap_registration_proxy_container_http_host_bind_port: ''
|
|
|
|
# `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`,
|
|
# 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) }}"
|
|
|
|
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 }}"
|
|
|
|
|
|
# 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: []
|
|
|
|
# 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: ''
|