From be4042d7e440cfa2ca211d5b6928ec6271daa540 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Tue, 17 Mar 2020 09:44:39 +0100 Subject: [PATCH] Make Decidim SPOC-compatible, cont'd. --- lxc-apps/decidim/app | 22 +++++++++++----------- lxc-apps/decidim/install.sh | 6 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lxc-apps/decidim/app b/lxc-apps/decidim/app index 41d7ed6..82d56cf 100644 --- a/lxc-apps/decidim/app +++ b/lxc-apps/decidim/app @@ -1,5 +1,5 @@ { - "version": "0.20.0-191113", + "version": "0.20.0-200313", "meta": { "title": "Decidim", "desc-cs": "Platforma pro účast občanů", @@ -8,21 +8,21 @@ }, "containers": { "decidim": { - "image": "decidim_0.20.0-191113", + "image": "decidim_0.20.0-200313", "depends": [ "decidim-postgres" ], - "mounts": [ - ["DIR", "/srv/decidim/decidim_conf", "/srv/decidim-app/config"], - ["DIR", "/srv/decidim/decidim_data/storage", "/srv/decidim-app/storage"], - ["DIR", "/srv/decidim/decidim_data/uploads", "/srv/decidim-app/public/uploads"] - ] + "mounts": { + "decidim/decidim_conf": "srv/decidim-app/config", + "decidim/decidim_data/storage": "srv/decidim-app/storage", + "decidim/decidim_data/uploads": "srv/decidim-app/public/uploads" + } }, "decidim-postgres": { - "image": "postgres_11.3.0-190620", - "mounts": [ - ["DIR", "/srv/decidim/postgres_data", "/var/lib/postgresql"] - ] + "image": "postgres_12.2.0-200313", + "mounts": { + "decidim/postgres_data": "var/lib/postgresql" + } } } } diff --git a/lxc-apps/decidim/install.sh b/lxc-apps/decidim/install.sh index 143967a..f232a85 100755 --- a/lxc-apps/decidim/install.sh +++ b/lxc-apps/decidim/install.sh @@ -23,8 +23,8 @@ envsubst