Added the matrix_bot_go_neb_container_http_host_bind_port variable to allow the container to expose its listen port

This commit is contained in:
Yannick Goossens
2021-03-12 11:10:00 +01:00
parent ce14e3e8af
commit 20c6bd686e
3 changed files with 10 additions and 0 deletions

View File

@ -22,6 +22,9 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-bot-go-neb \
--cap-drop=ALL \
--read-only \
--network={{ matrix_docker_network }} \
{% if matrix_bot_go_neb_container_http_host_bind_port %}
-p {{ matrix_bot_go_neb_container_http_host_bind_port }}:4050 \
{% endif %}
-e 'BIND_ADDRESS=:4050' \
-e 'DATABASE_TYPE={{ matrix_bot_go_neb_database_engine }}' \
-e 'BASE_URL=https://{{ matrix_server_fqn_bot_go_neb }}' \