use safer mount options for the container's files

This commit is contained in:
Joshua Hoffmann 2023-12-15 22:28:52 +01:00
parent 8c93327e25
commit 4f835e0560

View File

@ -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 --mount type=bind,src={{ matrix_hookshot_base_path }}/config.yml,dst=/config.yml
{{ matrix_hookshot_docker_image }} yarn start:resetcrypto {{ matrix_hookshot_docker_image }}
yarn start:resetcrypto
changed_when: false changed_when: false