瀏覽代碼

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
--user={{ matrix_user_uid }}:{{ matrix_user_gid }}
--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

Loading…
取消
儲存