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:
@@ -11,7 +11,7 @@ traefik.enable=true
|
||||
traefik.docker.network={{ matrix_client_fluffychat_container_labels_traefik_docker_network }}
|
||||
{% endif %}
|
||||
|
||||
traefik.http.services.matrix-client-fluffychat.loadbalancer.server.port=8080
|
||||
traefik.http.services.matrix-client-fluffychat.loadbalancer.server.port={{ matrix_client_fluffychat_container_labels_traefik_http_service_load_balancer_port }}
|
||||
|
||||
{% set middlewares = [] %}
|
||||
|
||||
|
@@ -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 \
|
||||
|
Reference in New Issue
Block a user