浏览代码

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

正在加载...
取消
保存