Matrix-application

This commit is contained in:
Yassine Aouam 2023-01-05 14:53:42 +01:00
parent a7b8b840aa
commit 958306916b
2 changed files with 6 additions and 1 deletions

View File

@ -24,6 +24,7 @@ Once you write the first character, options starting with that character begin t
# log drive update
matrix-docker-ansible-deploy/roles/custom/matrix-synapse/templates/synapse/systemd/matrix-synapse-worker.service.j2
matrix-docker-ansible-deploy/roles/custom/matrix-synapse/templates/goofys/systemd/matrix-goofys.service.j2
{% if matrix_synapse_log_driver %}
--log-driver={{ matrix_synapse_log_driver }} \

View File

@ -12,7 +12,11 @@ ExecStartPre=-{{ devture_systemd_docker_base_host_command_docker }} kill %n
ExecStartPre=-{{ devture_systemd_docker_base_host_command_docker }} rm %n
ExecStart={{ devture_systemd_docker_base_host_command_docker }} run --rm --name %n \
--log-driver=json-file \
{% if matrix_synapse_log_driver %}
--log-driver={{ matrix_synapse_log_driver }} \
{% else %}
--log-driver=none \
{% endif %}
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
--mount type=bind,src=/etc/passwd,dst=/etc/passwd,ro \
--mount type=bind,src=/etc/group,dst=/etc/group,ro \