Remove logging to /var/log and make readonly

This commit is contained in:
Julian-Samuel Gebühr
2022-06-24 17:36:53 +02:00
parent 2309a61cb0
commit d5c82a5221
2 changed files with 3 additions and 8 deletions

View File

@ -20,9 +20,10 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-maubot \
--log-driver=none \
-e UID={{ matrix_user_uid }} \
-e GID={{ matrix_user_gid }} \
--read-only \
-v {{ matrix_bot_maubot_data_path }}:{{ matrix_bot_maubot_container_data_dir }}:z \
{% for arg in matrix_bot_maubot_container_extra_arguments %}
{{ arg }} \
{{ arg }} \
{% endfor %}
--network={{ matrix_docker_network }} \
{% if matrix_bot_maubot_expose_management_interface|bool %}