Make FluffyChat container HTTP port configurable

This makes it possible to switch out the container image with one that
uses a port other than 8080.
This commit is contained in:
Slavi Pantaleev
2025-07-10 19:05:42 +03:00
parent e6413534be
commit fb0ccc391e
3 changed files with 9 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
--read-only \
--network={{ matrix_client_fluffychat_container_network }} \
{% if matrix_client_fluffychat_container_http_host_bind_port %}
-p {{ matrix_client_fluffychat_container_http_host_bind_port }}:8080 \
-p {{ matrix_client_fluffychat_container_http_host_bind_port }}:{{ matrix_client_fluffychat_container_http_port }} \
{% endif %}
--label-file={{ matrix_client_fluffychat_data_path }}/labels \
--tmpfs=/tmp:rw,noexec,nosuid,size=10m \