Make exposing management UI configurable
This commit is contained in:
parent
8806598f51
commit
0ea146930b
|
@ -17,6 +17,7 @@ matrix_bot_maubot_container_config_dir: "/root/.config/"
|
||||||
|
|
||||||
matrix_bot_maubot_bot_server: "https://{{ matrix_server_fqn_matrix }}"
|
matrix_bot_maubot_bot_server: "https://{{ matrix_server_fqn_matrix }}"
|
||||||
matrix_bot_maubot_proxy_management_interface: False
|
matrix_bot_maubot_proxy_management_interface: False
|
||||||
|
matrix_bot_maubot_expose_management_interface: True
|
||||||
|
|
||||||
|
|
||||||
matrix_bot_maubot_logging_level: info
|
matrix_bot_maubot_logging_level: info
|
||||||
|
|
|
@ -25,7 +25,9 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-maubot \
|
||||||
{{ arg }} \
|
{{ arg }} \
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
--network={{ matrix_docker_network }} \
|
--network={{ matrix_docker_network }} \
|
||||||
|
{% if matrix_bot_maubot_expose_management_interface|bool %}
|
||||||
-p {{ matrix_bot_maubot_port }}:29316 \
|
-p {{ matrix_bot_maubot_port }}:29316 \
|
||||||
|
{% endif %}
|
||||||
{{ matrix_bot_maubot_docker_image }}
|
{{ matrix_bot_maubot_docker_image }}
|
||||||
|
|
||||||
ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-maubot 2>/dev/null || true'
|
ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-maubot 2>/dev/null || true'
|
||||||
|
|
Loading…
Reference in a new issue