From e9b89f74dc4a660adad49aefcd3b130346078fab Mon Sep 17 00:00:00 2001 From: Stuart Mumford Date: Mon, 17 Feb 2020 19:43:24 +0000 Subject: [PATCH] add config mount to maubot --- roles/matrix-maubot/templates/matrix-maubot.service.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/matrix-maubot/templates/matrix-maubot.service.j2 b/roles/matrix-maubot/templates/matrix-maubot.service.j2 index cd2728212..f2fb418ab 100644 --- a/roles/matrix-maubot/templates/matrix-maubot.service.j2 +++ b/roles/matrix-maubot/templates/matrix-maubot.service.j2 @@ -22,7 +22,8 @@ ExecStart=/usr/bin/docker run --rm --name matrix-maubot \ -e UID={{ matrix_user_uid }} \ -e GID={{ matrix_user_gid }} \ --network={{ matrix_docker_network }} \ - -v {{ matrix_maubot_host_data_dir }}:/data:z \ + -v {{ matrix_maubot_host_data_dir }}:{{ matrix_maubot_container_data_dir }}:z \ + -v {{ matrix_maubot_host_config_dir }}:{{ matrix_maubot_container_config_dir }}:z \ {% for arg in matrix_maubot_container_extra_arguments %} {{ arg }} \ {% endfor %}