File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ ENV CKAN_STORAGE_PATH=/ckanstorage
5959ENV CKAN_VERSION=2.11.0
6060ENV CKAN_SCHEMING_VERSION=release-3.0.0
6161ENV CKAN_SPATIAL_VERSION=v2.2.0
62- ENV CKAN_MSL_CORE_VERSION=1.5 .0
62+ ENV CKAN_MSL_CORE_VERSION=1.6 .0
6363ENV CKAN_MSL_UTIL_VERSION=1.1.0
6464
6565# Create storage path
Original file line number Diff line number Diff line change @@ -126,6 +126,8 @@ ckan.redis.url = redis://redis:6379/0
126126# ckan.plugins = stats text_view image_view recline_view
127127ckan.plugins = stats text_view image_view msl_ckan scheming_datasets scheming_groups scheming_organizations msl_custom_facets msl_repeating_fields spatial_metadata spatial_query
128128
129+ ckanext.spatial.search_backend =solr-spatial-field
130+
129131scheming.dataset_schemas = ckanext.msl_ckan:schemas/datasets/data_publication.yml ckanext.msl_ckan:schemas/datasets/labs.json ckanext.msl_ckan:schemas/datasets/equipment.json
130132scheming.organization_schemas = ckanext.msl_ckan:schemas/organizations/organization.json
131133
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ LABEL org.opencontainers.image.authors="Yoda team"
77# Need bash to get nvm/npm to work with default init files
88SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
99
10+ # Settings
11+
12+ ENV MSL_API_VERSION=1.6.0
13+
1014# Set timezone
1115ENV TZ=UTC
1216RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
@@ -69,8 +73,10 @@ ADD msl-api-entrypoint.sh /msl-api-entrypoint.sh
6973RUN chmod +x /msl-api-entrypoint.sh
7074
7175RUN cd /var/www && \
72- git clone https://github.com/utrechtUniversity/msl_api --branch development && \
73- chown -R www-data:www-data msl_api
76+ git clone https://github.com/utrechtUniversity/msl_api && \
77+ cd msl_api && \
78+ git checkout "$MSL_API_VERSION" && \
79+ chown -R www-data:www-data .
7480USER www-data
7581ADD msl-api.env /var/www/msl_api/.env
7682ADD supervisord.conf /var/www/msl-api-supervisord.conf
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM solr:8.11
44LABEL org.opencontainers.image.authors="Yoda team"
55
66ENV SOLR_CONFIG_DIR="/opt/solr/server/solr/configsets"
7- ENV MSL_CKAN_CORE_VERSION=1.5 .0
7+ ENV MSL_CKAN_CORE_VERSION=1.6 .0
88
99# Create a CKAN configset based on the default one
1010USER root
You can’t perform that action at this time.
0 commit comments