Make wsproxy use its own container network (matrix_mautrix_wsproxy_container_network)

This commit is contained in:
Slavi Pantaleev 2024-01-13 17:28:23 +02:00
parent 7c286ab179
commit 1c7f892b2b
2 changed files with 2 additions and 2 deletions

View File

@ -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 }} \

View File

@ -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 %}