Explorar el Código

Restrict permissions of container

pull/1894/head
Julian-Samuel Gebühr hace 3 años
padre
commit
05c1333ebb
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      roles/matrix-bot-maubot/templates/systemd/matrix-bot-maubot.service.j2

+ 2
- 2
roles/matrix-bot-maubot/templates/systemd/matrix-bot-maubot.service.j2 Ver fichero

@@ -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 \
--log-driver=none \
-e UID={{ matrix_user_uid }} \
-e GID={{ matrix_user_gid }} \
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
--read-only \
--cap-drop=ALL \
-v {{ matrix_bot_maubot_data_path }}:/data:z \
{% for arg in matrix_bot_maubot_container_extra_arguments %}
{{ arg }} \


Cargando…
Cancelar
Guardar