mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-27 03:18:31 +01:00
Make wsproxy use its own container network (matrix_mautrix_wsproxy_container_network)
This commit is contained in:
parent
7c286ab179
commit
1c7f892b2b
@ -20,7 +20,7 @@ ExecStart={{ devture_systemd_docker_base_host_command_docker }} run --rm --name
|
|||||||
--log-driver=none \
|
--log-driver=none \
|
||||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
||||||
--cap-drop=ALL \
|
--cap-drop=ALL \
|
||||||
--network={{ matrix_docker_network }} \
|
--network={{ matrix_mautrix_wsproxy_container_network }} \
|
||||||
--env-file={{ matrix_mautrix_wsproxy_base_path }}/syncproxy-env \
|
--env-file={{ matrix_mautrix_wsproxy_base_path }}/syncproxy-env \
|
||||||
{% for arg in matrix_mautrix_wsproxy_syncproxy_container_extra_arguments %}
|
{% for arg in matrix_mautrix_wsproxy_syncproxy_container_extra_arguments %}
|
||||||
{{ arg }} \
|
{{ arg }} \
|
||||||
|
@ -20,7 +20,7 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create --rm -
|
|||||||
--log-driver=none \
|
--log-driver=none \
|
||||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
||||||
--cap-drop=ALL \
|
--cap-drop=ALL \
|
||||||
--network={{ matrix_docker_network }} \
|
--network={{ matrix_mautrix_wsproxy_container_network }} \
|
||||||
{% if matrix_mautrix_wsproxy_bind_port %}
|
{% if matrix_mautrix_wsproxy_bind_port %}
|
||||||
-p {{ matrix_mautrix_wsproxy_port }}:29331 \
|
-p {{ matrix_mautrix_wsproxy_port }}:29331 \
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user