diff --git a/lxc-apps/ckan/install.sh b/lxc-apps/ckan/install.sh index 2b28400..a4dbc1e 100755 --- a/lxc-apps/ckan/install.sh +++ b/lxc-apps/ckan/install.sh @@ -6,6 +6,7 @@ POSTGRES_DATA="${VOLUMES_DIR}/ckan/postgres_data" REDIS_CONF="${VOLUMES_DIR}/ckan/redis_conf" REDIS_DATA="${VOLUMES_DIR}/ckan/redis_data" SOLR_DATA="${VOLUMES_DIR}/ckan/solr_data" +SOLR_LAYER="${LAYERS_DIR}/solr6_6.5.1-200313" DATAPUSHER_CONF="${VOLUMES_DIR}/ckan/datapusher_conf" DATAPUSHER_DATA="${VOLUMES_DIR}/ckan/datapusher_data" CKAN_CONF="${VOLUMES_DIR}/ckan/ckan_conf" @@ -33,7 +34,7 @@ spoc-container start ckan-redis # Configure Solr install -o 108983 -g 108983 -m 750 -d ${SOLR_DATA} -install -o 108983 -g 108983 -m 640 ${LAYERS_DIR}/solr6_6.5.1-200313/opt/solr/server/solr/solr.xml ${SOLR_DATA}/solr.xml +cp -p ${SOLR_LAYER}/opt/solr/server/solr/solr.xml ${SOLR_DATA}/solr.xml spoc-container start ckan-solr # Configure CKAN Solr core diff --git a/lxc-apps/crisiscleanup/install.sh b/lxc-apps/crisiscleanup/install.sh index 54902d2..8b08a2c 100755 --- a/lxc-apps/crisiscleanup/install.sh +++ b/lxc-apps/crisiscleanup/install.sh @@ -4,6 +4,7 @@ set -ev # Volumes POSTGRES_DATA="${VOLUMES_DIR}/crisiscleanup/postgres_data" CC_CONF="${VOLUMES_DIR}/crisiscleanup/cc_conf" +CC_LAYER="${LAYERS_DIR}/crisiscleanup_2.2.0-200313" # Create Postgres instance install -o 105432 -g 105432 -m 700 -d ${POSTGRES_DATA} @@ -19,7 +20,7 @@ spoc-container start crisiscleanup-postgres envsubst