From f3c69562fae30e67fdbc690a02c52e38bdff09e1 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Thu, 8 Feb 2024 11:46:59 +0200 Subject: [PATCH] Use devture_postgres_container_network for all rust-synapse-compress-state tasks Using `matrix_synapse_container_network` for this task may have worked before, when everything was in the same `matrix` network, but not anymore. Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3165 --- .../tasks/rust-synapse-compress-state/compress_room.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/custom/matrix-synapse/tasks/rust-synapse-compress-state/compress_room.yml b/roles/custom/matrix-synapse/tasks/rust-synapse-compress-state/compress_room.yml index 7f5e05666..07fdbd1b1 100644 --- a/roles/custom/matrix-synapse/tasks/rust-synapse-compress-state/compress_room.yml +++ b/roles/custom/matrix-synapse/tasks/rust-synapse-compress-state/compress_room.yml @@ -9,7 +9,7 @@ {{ devture_systemd_docker_base_host_command_docker }} run --rm --name matrix-rust-synapse-compress-state-compress-room --user={{ matrix_synapse_uid }}:{{ matrix_synapse_gid }} --cap-drop=ALL - --network={{ matrix_synapse_container_network }} + --network={{ devture_postgres_container_network }} --mount type=bind,src={{ matrix_synapse_rust_synapse_compress_state_base_path }},dst=/work {{ matrix_synapse_rust_synapse_compress_state_docker_image }} {{ matrix_synapse_rust_synapse_compress_state_synapse_compress_state_in_container_path }} -t -o /work/state-compressor.sql