mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 12:47:39 +01:00
try to use other mount option
to prevent docker from using dir instead of file
This commit is contained in:
parent
eb8e3572fd
commit
469554b836
@ -27,7 +27,7 @@ ExecStart=/usr/bin/docker run --rm --name matrix-sms-bridge \
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
-v {{ matrix_sms_bridge_config_path }}:/config:z \
|
-v {{ matrix_sms_bridge_config_path }}:/config:z \
|
||||||
-v {{ matrix_sms_bridge_data_path }}:/data:z \
|
-v {{ matrix_sms_bridge_data_path }}:/data:z \
|
||||||
-v {{ matrix_sms_bridge_data_path }}/gammu-smsdrc:/etc/gammu-smsdrc:z \
|
--mount type=bind,source={{ matrix_sms_bridge_data_path }}/gammu-smsdrc,target=/etc/gammu-smsdrc \
|
||||||
--device {{ matrix_sms_bridge_gammu_modem }}:/dev/ttyModem \
|
--device {{ matrix_sms_bridge_gammu_modem }}:/dev/ttyModem \
|
||||||
{% for arg in matrix_sms_bridge_container_extra_arguments %}
|
{% for arg in matrix_sms_bridge_container_extra_arguments %}
|
||||||
{{ arg }} \
|
{{ arg }} \
|
||||||
|
Loading…
Reference in New Issue
Block a user