mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 04:34:00 +00:00
Add labels to matrix-mautrix-googlechat.service and use --mount instead of -v
This commit is contained in:
parent
f8f3318bb2
commit
6723fcd6d5
@ -27,8 +27,9 @@ ExecStart={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
{% if matrix_mautrix_googlechat_container_http_host_bind_port %}
|
{% if matrix_mautrix_googlechat_container_http_host_bind_port %}
|
||||||
-p {{ matrix_mautrix_googlechat_container_http_host_bind_port }}:8080 \
|
-p {{ matrix_mautrix_googlechat_container_http_host_bind_port }}:8080 \
|
||||||
{% endif %}
|
{% endif %}
|
||||||
-v {{ matrix_mautrix_googlechat_config_path }}:/config:z \
|
--mount type=bind,src={{ matrix_mautrix_googlechat_config_path }},dst=/config \
|
||||||
-v {{ matrix_mautrix_googlechat_data_path }}:/data:z \
|
--mount type=bind,src={{ matrix_mautrix_googlechat_data_path }},dst=/data \
|
||||||
|
--label-file={{ matrix_mautrix_googlechat_base_path }}/labels \
|
||||||
{% for arg in matrix_mautrix_googlechat_container_extra_arguments %}
|
{% for arg in matrix_mautrix_googlechat_container_extra_arguments %}
|
||||||
{{ arg }} \
|
{{ arg }} \
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user