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:
Julian-Samuel Gebühr
2022-07-20 11:23:32 +02:00
committed by GitHub
parent a1bfad1e9b
commit b20cfc5015
3 changed files with 13 additions and 6 deletions

View File

@ -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