Переглянути джерело

use safer mount options for the container's files

pull/3042/head
Joshua Hoffmann 2 роки тому
джерело
коміт
4f835e0560
1 змінених файлів з 3 додано та 2 видалено
  1. +3
    -2
      roles/custom/matrix-bridge-hookshot/tasks/reset_encryption.yml

+ 3
- 2
roles/custom/matrix-bridge-hookshot/tasks/reset_encryption.yml Переглянути файл

@@ -7,6 +7,7 @@
--name={{ matrix_hookshot_container_ident }}-reset-crypto --name={{ matrix_hookshot_container_ident }}-reset-crypto
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} --user={{ matrix_user_uid }}:{{ matrix_user_gid }}
--cap-drop=ALL --cap-drop=ALL
-v {{ matrix_hookshot_base_path }}/config.yml:/config.yml
{{ matrix_hookshot_docker_image }} yarn start:resetcrypto
--mount type=bind,src={{ matrix_hookshot_base_path }}/config.yml,dst=/config.yml
{{ matrix_hookshot_docker_image }}
yarn start:resetcrypto
changed_when: false changed_when: false

Завантаження…
Відмінити
Зберегти