diff --git a/build/build-all.sh b/build/build-all.sh index 2b06896..9b33cd3 100755 --- a/build/build-all.sh +++ b/build/build-all.sh @@ -79,6 +79,7 @@ cd ${ROOT}/lxc-apps lxcbuild ckan lxcbuild crisiscleanup lxcbuild cts +lxcbuild decidim lxcbuild ecogis lxcbuild frontlinesms lxcbuild gnuhealth diff --git a/lxc-apps/decidim/lxcfile b/lxc-apps/decidim/lxcfile index 21fbff3..2df927e 100644 --- a/lxc-apps/decidim/lxcfile +++ b/lxc-apps/decidim/lxcfile @@ -7,6 +7,9 @@ LAYER alpine3.9-nginx_1.14.2-191115 MERGE /usr/bin/lxcmerge +# https://github.com/Platoniq/decidim-install/blob/master/decidim-bionic.md +# https://github.com/Platoniq/decidim-install/blob/master/basic-config.md + ENV RAILS_ENV production RUN EOF @@ -17,7 +20,7 @@ RUN EOF apk --no-cache add --virtual .deps build-base icu-dev libxml2-dev libxslt-dev postgresql-dev zlib-dev # Install passenger - gem install passenger --no-rdoc --no-ri + gem install passenger --no-document # Install Decidim bundle config build.nokogiri --use-system-libraries diff --git a/lxc-apps/decidim/meta b/lxc-apps/decidim/meta new file mode 100644 index 0000000..8164d80 --- /dev/null +++ b/lxc-apps/decidim/meta @@ -0,0 +1,26 @@ +{ + "version": "0.0.1-191113", + "meta": { + "title": "Decidim", + "desc-cs": "Platforma pro účast občanů", + "desc-en": "Platform for citizen participation", + "license": "GPL" + }, + "containers": { + "decidim": { + "image": "decidim_0.0.1-191113", + "depends": [ + "decidim-postgres" + ], + "mounts": [ + ["DIR", "/srv/decidim/decidim_conf", "/srv/decidim-app/config"] + ] + }, + "decidim-postgres": { + "image": "postgres_11.3.0-190620", + "mounts": [ + ["DIR", "/srv/cts/postgres_data", "/var/lib/postgresql"] + ] + } + } +}