From 8b47dda96725379ae752aa0d2a788cbcec203901 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Mon, 28 Dec 2020 01:17:37 +0100 Subject: [PATCH] codimd: Fix bug after switch to hedgedoc image The hedgedoc image stores the software in `/hedgedoc` and therefore the container fails while trying to mount the tempfs. This patch fixes the problem by renaming the path properly. --- roles/codimd/templates/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/codimd/templates/docker-compose.yml b/roles/codimd/templates/docker-compose.yml index fdd05487..8fc112f7 100644 --- a/roles/codimd/templates/docker-compose.yml +++ b/roles/codimd/templates/docker-compose.yml @@ -58,7 +58,7 @@ services: tmpfs: - /tmp:size=10M {% if not codimd_uploads_local %} - - /codimd/public/uploads:size=10M + - /hedgedoc/public/uploads:size=10M {% endif %} environment: - "CMD_DB_URL=postgres://{{ codimd_database_user }}:{{ codimd_database_password }}@database:5432/{{ codimd_database_name }}" -- GitLab