Clear up maubot role (#1960)
* Make interface hidden behind proxy by default * Remove expose option and replace with http_bind_port Reasoning: This is a similar binary trigger but allows to bin not on all interfaces * Clarify maubot admin purpose * Remove unnecessary edif * Extend docs to prevent common misconceptions * Make http_bind_port singular, do not allow multiple values * Make optional again
This commit is contained in:
committed by
GitHub
parent
a1bfad1e9b
commit
b20cfc5015
@ -26,9 +26,9 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-bot-maubot \
|
||||
{{ arg }} \
|
||||
{% endfor %}
|
||||
--network={{ matrix_docker_network }} \
|
||||
{% if matrix_bot_maubot_expose_management_interface|bool %}
|
||||
-p {{ matrix_bot_maubot_management_interface_port }}:29316 \
|
||||
{% endif %}
|
||||
{% if matrix_bot_maubot_management_interface_http_bind_port | bool %}
|
||||
-p {{ matrix_bot_maubot_management_interface_http_bind_port }}:29316
|
||||
{% endif %}
|
||||
{{ matrix_bot_maubot_docker_image }} \
|
||||
python3 -m maubot -c /data/config.yaml
|
||||
|
||||
|
Reference in New Issue
Block a user