Sfoglia il codice sorgente

add config mount to maubot

pull/622/head
Stuart Mumford 6 anni fa
parent
commit
1d0b362a3b
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      roles/matrix-maubot/templates/matrix-maubot.service.j2

+ 2
- 1
roles/matrix-maubot/templates/matrix-maubot.service.j2 Vedi File

@@ -22,7 +22,8 @@ ExecStart=/usr/bin/docker run --rm --name matrix-maubot \
-e UID={{ matrix_user_uid }} \ -e UID={{ matrix_user_uid }} \
-e GID={{ matrix_user_gid }} \ -e GID={{ matrix_user_gid }} \
--network={{ matrix_docker_network }} \ --network={{ matrix_docker_network }} \
-v {{ matrix_maubot_host_data_dir }}:/data:z \
-v {{ matrix_maubot_host_data_dir }}:{{ matrix_maubot_container_data_dir }}:z \
-v {{ matrix_maubot_host_config_dir }}:{{ matrix_maubot_container_config_dir }}:z \
{% for arg in matrix_maubot_container_extra_arguments %} {% for arg in matrix_maubot_container_extra_arguments %}
{{ arg }} \ {{ arg }} \
{% endfor %} {% endfor %}


Caricamento…
Annulla
Salva