From 7ebdfc1866fbdab5d82ea7a82ed366c440049e72 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Thu, 13 Sep 2018 14:58:03 +0200 Subject: [PATCH] Add missing mounts --- build-all.sh | 7 +++++++ kanboard/lxcfile | 1 + mifosx/lxcfile | 3 +++ opendatakit-build/lxcfile | 3 +++ opendatakit/lxcfile | 4 ++++ openmapkit/lxcfile | 1 + sigmah/lxcfile | 2 ++ ushahidi/lxcfile | 2 ++ 8 files changed, 23 insertions(+) diff --git a/build-all.sh b/build-all.sh index 8cf3b8a..8aae443 100755 --- a/build-all.sh +++ b/build-all.sh @@ -38,6 +38,13 @@ lxc-build ${SOURCE_DIR}/mifosx lxc-build ${SOURCE_DIR}/motech lxc-build ${SOURCE_DIR}/opendatakit lxc-build ${SOURCE_DIR}/opendatakit-build +lxc-build ${SOURCE_DIR}/openmapkit +lxc-build ${SOURCE_DIR}/pandora lxc-build ${SOURCE_DIR}/postgres +lxc-build ${SOURCE_DIR}/rabbitmq lxc-build ${SOURCE_DIR}/redis +lxc-build ${SOURCE_DIR}/sahana +lxc-build ${SOURCE_DIR}/seeddms +lxc-build ${SOURCE_DIR}/sigmah lxc-build ${SOURCE_DIR}/solr +lxc-build ${SOURCE_DIR}/ushahidi diff --git a/kanboard/lxcfile b/kanboard/lxcfile index b27353e..a849b05 100644 --- a/kanboard/lxcfile +++ b/kanboard/lxcfile @@ -44,5 +44,6 @@ EOF COPY lxc MOUNT /srv/kanboard/data srv/kanboard/data/files +MOUNT /srv/kanboard/conf/config.php srv/kanboard/config.php CMD /bin/s6-svscan /etc/services.d diff --git a/mifosx/lxcfile b/mifosx/lxcfile index ff4a0db..5dccd0a 100644 --- a/mifosx/lxcfile +++ b/mifosx/lxcfile @@ -39,6 +39,9 @@ RUN EOF rm /tmp/locale-cs.patch EOF +MOUNT /srv/mifosx/conf/server.xml srv/tomcat/conf/server.xml +MOUNT /srv/mifosx/conf/context.xml srv/tomcat/webapps/fineract-provider/META-INF/context.xml + USER 8012 8012 WORKDIR /srv/tomcat CMD /usr/bin/catalina.sh run diff --git a/opendatakit-build/lxcfile b/opendatakit-build/lxcfile index 2ef0bae..6f4308c 100644 --- a/opendatakit-build/lxcfile +++ b/opendatakit-build/lxcfile @@ -40,4 +40,7 @@ EOF COPY lxc +MOUNT /etc/ssl/services.pem usr/local/share/ca-certificates/services.crt +MOUNT /srv/opendatakit-build/conf/config.yml srv/opendatakit-build/config.yml + CMD /bin/s6-svscan /etc/services.d diff --git a/opendatakit/lxcfile b/opendatakit/lxcfile index a63758b..67df4dc 100644 --- a/opendatakit/lxcfile +++ b/opendatakit/lxcfile @@ -30,6 +30,10 @@ RUN EOF rm -rf /root/.gradle /root/.java /srv/opendatakit EOF +MOUNT /srv/opendatakit/conf/server.xml srv/tomcat/conf/server.xml +MOUNT /srv/opendatakit/conf/jdbc.properties srv/tomcat/webapps/ROOT/WEB-INF/classes/jdbc.properties +MOUNT /srv/opendatakit/conf/security.properties srv/tomcat/webapps/ROOT/WEB-INF/classes/security.properties + USER 8015 8015 WORKDIR /srv/tomcat CMD /usr/bin/catalina.sh run diff --git a/openmapkit/lxcfile b/openmapkit/lxcfile index 66c2678..e73a7a6 100644 --- a/openmapkit/lxcfile +++ b/openmapkit/lxcfile @@ -36,6 +36,7 @@ RUN EOF rm -rf /root/.cache /root/.config /root/.node-gyp /root/.npm EOF +MOUNT /srv/openmapkit/conf/settings.js srv/openmapkit/settings.js MOUNT /srv/openmapkit/data srv/openmapkit/data USER 8007 8007 diff --git a/sigmah/lxcfile b/sigmah/lxcfile index aa94942..cf2521d 100644 --- a/sigmah/lxcfile +++ b/sigmah/lxcfile @@ -29,6 +29,8 @@ EOF COPY lxc MOUNT /srv/sigmah/data srv/sigmah/data +MOUNT /srv/sigmah/conf/persistence.xml srv/tomcat/webapps/sigmah/WEB-INF/classes/META-INF/persistence.xml +MOUNT /srv/sigmah/conf/sigmah.properties srv/tomcat/webapps/sigmah/WEB-INF/classes/sigmah.properties USER 8011 8011 WORKDIR /srv/tomcat diff --git a/ushahidi/lxcfile b/ushahidi/lxcfile index 2b6384c..e2a52d1 100644 --- a/ushahidi/lxcfile +++ b/ushahidi/lxcfile @@ -33,6 +33,8 @@ RUN EOF rm aura.patch EOF +MOUNT /srv/ushahidi/conf/env srv/ushahidi/platform/.env +MOUNT /srv/ushahidi/conf/config.json srv/ushahidi/config.json MOUNT /srv/ushahidi/data srv/ushahidi/platform/application/media/uploads CMD /bin/s6-svscan /etc/services.d