matrix-docker-ansible-deploy/roles/matrix-corporal/templates/config.json.j2

32 lines
1.0 KiB
Plaintext
Raw Normal View History

#jinja2: lstrip_blocks: "True"
2018-08-21 18:34:34 +08:00
{
"Matrix": {
"HomeserverDomainName": "{{ matrix_corporal_matrix_homeserver_domain_name }}",
"HomeserverApiEndpoint": "{{ matrix_corporal_matrix_homeserver_api_endpoint }}",
"AuthSharedSecret": "{{ matrix_corporal_matrix_auth_shared_secret }}",
"RegistrationSharedSecret": "{{ matrix_corporal_matrix_registration_shared_secret }}",
2018-08-21 18:34:34 +08:00
"TimeoutMilliseconds": {{ matrix_corporal_matrix_timeout_milliseconds }}
},
"Reconciliation": {
2019-02-28 17:51:09 +08:00
"UserId": "@{{ matrix_corporal_reconciliation_user_id_local_part }}:{{ matrix_domain }}",
2018-08-21 18:34:34 +08:00
"RetryIntervalMilliseconds": {{ matrix_corporal_reconciliation_retry_interval_milliseconds }}
},
"HttpGateway": {
"ListenAddress": "0.0.0.0:41080"
},
"HttpApi": {
"Enabled": {{ matrix_corporal_http_api_enabled|to_json }},
2018-08-21 18:34:34 +08:00
"ListenAddress": "0.0.0.0:41081",
"AuthorizationBearerToken": "{{ matrix_corporal_http_api_auth_token }}"
},
"PolicyProvider": {{ matrix_corporal_policy_provider_config }},
"Misc": {
"Debug": {{ matrix_corporal_debug|to_json }}
2018-08-21 18:34:34 +08:00
}
}