Auto-configure synapse-admin to be restricted to a single homeserver (the one managed by the playbook)

This commit is contained in:
Slavi Pantaleev
2024-07-01 16:01:31 +03:00
parent 296199fb40
commit e000cbf0f4
6 changed files with 77 additions and 10 deletions

View File

@ -0,0 +1,3 @@
{
"restrictBaseUrl": {{ matrix_synapse_admin_config_restrictBaseUrl | to_json }}
}

View File

@ -30,6 +30,7 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
-p {{ matrix_synapse_admin_container_http_host_bind_port }}:80 \
{% endif %}
--label-file={{ matrix_synapse_admin_base_path }}/labels \
--mount type=bind,src={{ matrix_synapse_admin_config_path }}/config.json,dst=/app/config.json,ro \
{% for arg in matrix_synapse_admin_container_extra_arguments %}
{{ arg }} \
{% endfor %}