From 716177d5bcbd8796da36dff95a383a6afbba88ad Mon Sep 17 00:00:00 2001 From: "Daniel A. Maierhofer" Date: Wed, 11 Sep 2024 23:40:10 +0200 Subject: [PATCH] Add temp suffix for container name to avoid conflict --- roles/custom/matrix-media-repo/tasks/setup_install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/custom/matrix-media-repo/tasks/setup_install.yml b/roles/custom/matrix-media-repo/tasks/setup_install.yml index 513456c1c..e4e5962c1 100755 --- a/roles/custom/matrix-media-repo/tasks/setup_install.yml +++ b/roles/custom/matrix-media-repo/tasks/setup_install.yml @@ -89,7 +89,7 @@ cmd: | {{ devture_systemd_docker_base_host_command_docker }} run --rm - --name={{ matrix_media_repo_identifier }} + --name={{ matrix_media_repo_identifier }}-temp --user={{ matrix_synapse_uid }}:{{ matrix_synapse_gid }} --cap-drop=ALL --mount type=bind,src={{ matrix_media_repo_config_path }},dst=/config @@ -104,7 +104,7 @@ cmd: | {{ devture_systemd_docker_base_host_command_docker }} run --rm - --name={{ matrix_media_repo_identifier }} + --name={{ matrix_media_repo_identifier }}-temp --user={{ matrix_synapse_uid }}:{{ matrix_synapse_gid }} --cap-drop=ALL --mount type=bind,src={{ matrix_media_repo_config_path }},dst=/config