mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-12 08:43:55 +02:00
Restrict permissions of container
This commit is contained in:
parent
bcd7ec714b
commit
05c1333ebb
@ -18,9 +18,9 @@ ExecStartPre=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }}
|
|||||||
|
|
||||||
ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-bot-maubot \
|
ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-bot-maubot \
|
||||||
--log-driver=none \
|
--log-driver=none \
|
||||||
-e UID={{ matrix_user_uid }} \
|
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
||||||
-e GID={{ matrix_user_gid }} \
|
|
||||||
--read-only \
|
--read-only \
|
||||||
|
--cap-drop=ALL \
|
||||||
-v {{ matrix_bot_maubot_data_path }}:/data:z \
|
-v {{ matrix_bot_maubot_data_path }}:/data:z \
|
||||||
{% for arg in matrix_bot_maubot_container_extra_arguments %}
|
{% for arg in matrix_bot_maubot_container_extra_arguments %}
|
||||||
{{ arg }} \
|
{{ arg }} \
|
||||||
|
Loading…
Reference in New Issue
Block a user