Add temp suffix for container name to avoid conflict

This commit is contained in:
Daniel A. Maierhofer 2024-09-11 23:40:10 +02:00
parent c54c5c0076
commit 716177d5bc

View File

@ -89,7 +89,7 @@
cmd: | cmd: |
{{ devture_systemd_docker_base_host_command_docker }} run {{ devture_systemd_docker_base_host_command_docker }} run
--rm --rm
--name={{ matrix_media_repo_identifier }} --name={{ matrix_media_repo_identifier }}-temp
--user={{ matrix_synapse_uid }}:{{ matrix_synapse_gid }} --user={{ matrix_synapse_uid }}:{{ matrix_synapse_gid }}
--cap-drop=ALL --cap-drop=ALL
--mount type=bind,src={{ matrix_media_repo_config_path }},dst=/config --mount type=bind,src={{ matrix_media_repo_config_path }},dst=/config
@ -104,7 +104,7 @@
cmd: | cmd: |
{{ devture_systemd_docker_base_host_command_docker }} run {{ devture_systemd_docker_base_host_command_docker }} run
--rm --rm
--name={{ matrix_media_repo_identifier }} --name={{ matrix_media_repo_identifier }}-temp
--user={{ matrix_synapse_uid }}:{{ matrix_synapse_gid }} --user={{ matrix_synapse_uid }}:{{ matrix_synapse_gid }}
--cap-drop=ALL --cap-drop=ALL
--mount type=bind,src={{ matrix_media_repo_config_path }},dst=/config --mount type=bind,src={{ matrix_media_repo_config_path }},dst=/config