Publish synapse worker ports, need to be accessible to nginx
This commit is contained in:
parent
cf452fdf0a
commit
66a4073512
@ -44,6 +44,11 @@ ExecStart=/usr/bin/docker run --rm --name matrix-synapse \
|
|||||||
{% if matrix_synapse_manhole_enabled and matrix_synapse_container_manhole_api_host_bind_port %}
|
{% if matrix_synapse_manhole_enabled and matrix_synapse_container_manhole_api_host_bind_port %}
|
||||||
-p {{ matrix_synapse_container_manhole_api_host_bind_port }}:9000 \
|
-p {{ matrix_synapse_container_manhole_api_host_bind_port }}:9000 \
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if matrix_synapse_workers_enabled %}
|
||||||
|
{% for worker in matrix_synapse_workers_enabled_list %}
|
||||||
|
-p {{ worker.port }}:{{ worker.port }} \
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
-v {{ matrix_synapse_config_dir_path }}:/data:ro \
|
-v {{ matrix_synapse_config_dir_path }}:/data:ro \
|
||||||
-v {{ matrix_synapse_run_path }}:/matrix-run:rw \
|
-v {{ matrix_synapse_run_path }}:/matrix-run:rw \
|
||||||
-v {{ matrix_synapse_storage_path }}:/matrix-media-store-parent:slave \
|
-v {{ matrix_synapse_storage_path }}:/matrix-media-store-parent:slave \
|
||||||
|
Loading…
Reference in New Issue
Block a user