Add matrix_client_element_environment_variable_element_web_port and matrix_client_element_environment_variables_extension variables

This commit is contained in:
Slavi Pantaleev 2025-03-11 22:28:16 +02:00
parent e65d198841
commit a5d850d800
2 changed files with 15 additions and 1 deletions

View File

@ -349,3 +349,15 @@ matrix_client_element_location_sharing_map_style_content_sources_localsource_att
# Optional URL to redirect the user to after they have logged out.
# See https://github.com/element-hq/element-web/blob/develop/docs/config.md#sso-setup
matrix_client_element_logout_redirect_url: ''
# Controls the `ELEMENT_WEB_PORT` environment variable.
matrix_client_element_environment_variable_element_web_port: "{{ matrix_client_element_container_port }}"
# Additional environment variables to pass to the container.
#
# Environment variables take priority over settings in the configuration file.
#
# Example:
# matrix_client_element_environment_variables_extension: |
# ELEMENT_WEB_PORT=8080
matrix_client_element_environment_variables_extension: ''

View File

@ -1 +1,3 @@
ELEMENT_WEB_PORT={{ matrix_client_element_container_port }}
ELEMENT_WEB_PORT={{ matrix_client_element_environment_variable_element_web_port }}
{{ matrix_client_element_environment_variables_extension }}