Fix Telegram bridge HTTP proxying when not using matrix-nginx-proxy

From what I see, this was never implemented to begin with.

Fixes #189 (Github Issue).
This commit is contained in:
Slavi Pantaleev
2019-05-26 20:50:52 +03:00
parent 120abaf391
commit 7379968a3c
5 changed files with 18 additions and 5 deletions

View File

@ -26,8 +26,8 @@ ExecStart=/usr/bin/docker run --rm --name matrix-mautrix-telegram \
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
--cap-drop=ALL \
--network={{ matrix_docker_network }} \
{% if matrix_mautrix_telegram_container_exposed_port_number is not none %}
-p 127.0.0.1:{{ matrix_mautrix_telegram_container_exposed_port_number }}:8080 \
{% if matrix_mautrix_telegram_container_http_host_bind_port %}
-p {{ matrix_mautrix_telegram_container_http_host_bind_port }}:8080 \
{% endif %}
-v {{ matrix_mautrix_telegram_base_path }}:/data:z \
{% for arg in matrix_mautrix_telegram_container_extra_arguments %}