|
|
|
@@ -19,9 +19,9 @@ matrix_container_global_registry_prefix: "docker.io/" |
|
|
|
|
|
|
|
matrix_identity_server_url: "{{ ('https://' + matrix_server_fqn_matrix) if matrix_ma1sd_enabled else None }}" |
|
|
|
|
|
|
|
# If Synapse workers are enabled and matrix-nginx-proxy is disabled, certain APIs may not work over 'http://matrix-synapse:8008'. |
|
|
|
# If Synapse workers are enabled and matrix-nginx-proxy is disabled, certain APIs may not work over 'http://matrix-synapse:{{ matrix_synapse_container_client_api_port }}'. |
|
|
|
# This is because we explicitly disable them for the main Synapse process. |
|
|
|
matrix_homeserver_container_url: "{{ 'http://matrix-nginx-proxy:12080' if matrix_nginx_proxy_enabled else 'http://matrix-synapse:8008' }}" |
|
|
|
matrix_homeserver_container_url: "{{ 'http://matrix-nginx-proxy:12080' if matrix_nginx_proxy_enabled else 'http://matrix-synapse:'+ matrix_synapse_container_client_api_port|string }}" |
|
|
|
|
|
|
|
###################################################################### |
|
|
|
# |
|
|
|
@@ -113,6 +113,7 @@ matrix_appservice_webhooks_container_http_host_bind_port: "{{ '' if matrix_nginx |
|
|
|
|
|
|
|
matrix_appservice_webhooks_appservice_token: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'webhook.as.token') | to_uuid }}" |
|
|
|
|
|
|
|
matrix_appservice_webhooks_homeserver_url: "http://matrix-synapse:{{ matrix_synapse_container_client_api_port }}" |
|
|
|
matrix_appservice_webhooks_homeserver_token: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'webhook.hs.token') | to_uuid }}" |
|
|
|
|
|
|
|
matrix_appservice_webhooks_id_token: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'webhook.id.token') | to_uuid }}" |
|
|
|
@@ -151,6 +152,7 @@ matrix_appservice_slack_container_http_host_bind_port: "{{ '' if matrix_nginx_pr |
|
|
|
|
|
|
|
matrix_appservice_slack_appservice_token: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'slack.as.token') | to_uuid }}" |
|
|
|
|
|
|
|
matrix_appservice_slack_homeserver_url: "http://matrix-synapse:{{ matrix_synapse_container_client_api_port }}" |
|
|
|
matrix_appservice_slack_homeserver_token: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'slack.hs.token') | to_uuid }}" |
|
|
|
|
|
|
|
matrix_appservice_slack_id_token: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'slack.id.token') | to_uuid }}" |
|
|
|
@@ -567,6 +569,7 @@ matrix_sms_bridge_systemd_required_services_list: | |
|
|
|
|
|
|
|
matrix_sms_bridge_appservice_token: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'sms.as.token') | to_uuid }}" |
|
|
|
|
|
|
|
matrix_sms_bridge_homeserver_port: "{{ matrix_synapse_container_client_api_port }}" |
|
|
|
matrix_sms_bridge_homeserver_token: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'sms.hs.token') | to_uuid }}" |
|
|
|
|
|
|
|
###################################################################### |
|
|
|
@@ -1216,6 +1219,7 @@ matrix_ma1sd_container_image_self_build: "{{ matrix_architecture != 'amd64' }}" |
|
|
|
# ma1sd's web-server port. |
|
|
|
matrix_ma1sd_container_http_host_bind_port: "{{ '' if matrix_nginx_proxy_enabled else '127.0.0.1:' + matrix_ma1sd_default_port|string }}" |
|
|
|
|
|
|
|
|
|
|
|
# We enable Synapse integration via its Postgres database by default. |
|
|
|
# When using another Identity store, you might wish to disable this and define |
|
|
|
# your own configuration in `matrix_ma1sd_configuration_extension_yaml`. |
|
|
|
@@ -1308,6 +1312,9 @@ matrix_nginx_proxy_proxy_matrix_federation_api_addr_sans_container: "127.0.0.1:1 |
|
|
|
# Settings controlling matrix-synapse-proxy.conf |
|
|
|
matrix_nginx_proxy_proxy_synapse_enabled: "{{ matrix_synapse_enabled }}" |
|
|
|
|
|
|
|
matrix_nginx_proxy_proxy_synapse_client_api_addr_with_container: "matrix-synapse:{{ matrix_synapse_container_client_api_port }}" |
|
|
|
matrix_nginx_proxy_proxy_synapse_client_api_addr_sans_container: "127.0.0.1:{{ matrix_synapse_container_client_api_port }}" |
|
|
|
|
|
|
|
matrix_nginx_proxy_proxy_synapse_federation_api_addr_with_container: "matrix-synapse:{{matrix_synapse_container_federation_api_plain_port|string}}" |
|
|
|
matrix_nginx_proxy_proxy_synapse_federation_api_addr_sans_container: "localhost:{{matrix_synapse_container_federation_api_plain_port|string}}" |
|
|
|
|
|
|
|
@@ -1722,7 +1729,7 @@ matrix_synapse_account_threepid_delegates_msisdn: "{{ 'http://matrix-ma1sd:' + m |
|
|
|
# you can expose Synapse's ports to the host. |
|
|
|
# |
|
|
|
# For exposing the Matrix Client API's port (plain HTTP) to the local host. |
|
|
|
matrix_synapse_container_client_api_host_bind_port: "{{ '' if matrix_nginx_proxy_enabled else '127.0.0.1:8008' }}" |
|
|
|
matrix_synapse_container_client_api_host_bind_port: "{{ '' if matrix_nginx_proxy_enabled else '127.0.0.1:' + matrix_synapse_container_client_api_port|string }}" |
|
|
|
# |
|
|
|
# For exposing the Matrix Federation API's plain port (plain HTTP) to the local host. |
|
|
|
matrix_synapse_container_federation_api_plain_host_bind_port: "{{ '' if matrix_nginx_proxy_enabled else '127.0.0.1:' + matrix_synapse_container_federation_api_plain_port|string }}" |
|
|
|
|