Move matrix-nginx-proxy to its own container network

This service will be removed soon, but for now we need to get rid of
`matrix_docker_network` usage everywhere.
This commit is contained in:
Slavi Pantaleev 2024-01-13 17:31:37 +02:00
parent cdf28c39d3
commit 594839448f
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ matrix_nginx_proxy_systemd_wanted_services_list: []
# The base container network.
# Also see: matrix_nginx_proxy_container_additional_networks
matrix_nginx_proxy_container_network: "{{ matrix_docker_network }}"
matrix_nginx_proxy_container_network: matrix-nginx-proxy
# A list of additional container networks that matrix-nginx-proxy would be connected to.
# The playbook does not create these networks, so make sure they already exist.

View File

@ -66,7 +66,7 @@
--user={{ matrix_user_uid }}:{{ matrix_user_gid }}
--cap-drop=ALL
-p 127.0.0.1:{{ matrix_ssl_lets_encrypt_certbot_standalone_http_port }}:8080
--network={{ matrix_docker_network }}
--network={{ matrix_nginx_proxy_container_network }}
--mount type=bind,src={{ matrix_ssl_config_dir_path }},dst=/etc/letsencrypt
--mount type=bind,src={{ matrix_ssl_log_dir_path }},dst=/var/log/letsencrypt
{{ matrix_ssl_lets_encrypt_certbot_docker_image }}