Skip to content

Commit 58bc044

Browse files
committed
June 2025 upgrade of EPOS-MSL
1 parent db78791 commit 58bc044

4 files changed

Lines changed: 12 additions & 4 deletions

File tree

docker/images/ckan/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ ENV CKAN_STORAGE_PATH=/ckanstorage
5959
ENV CKAN_VERSION=2.11.0
6060
ENV CKAN_SCHEMING_VERSION=release-3.0.0
6161
ENV CKAN_SPATIAL_VERSION=v2.2.0
62-
ENV CKAN_MSL_CORE_VERSION=1.5.0
62+
ENV CKAN_MSL_CORE_VERSION=1.6.0
6363
ENV CKAN_MSL_UTIL_VERSION=1.1.0
6464

6565
# Create storage path

docker/images/ckan/ckan.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ ckan.redis.url = redis://redis:6379/0
126126
#ckan.plugins = stats text_view image_view recline_view
127127
ckan.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+
129131
scheming.dataset_schemas = ckanext.msl_ckan:schemas/datasets/data_publication.yml ckanext.msl_ckan:schemas/datasets/labs.json ckanext.msl_ckan:schemas/datasets/equipment.json
130132
scheming.organization_schemas = ckanext.msl_ckan:schemas/organizations/organization.json
131133

docker/images/msl-api/Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff 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
88
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
99

10+
# Settings
11+
12+
ENV MSL_API_VERSION=1.6.0
13+
1014
# Set timezone
1115
ENV TZ=UTC
1216
RUN 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
6973
RUN chmod +x /msl-api-entrypoint.sh
7074

7175
RUN 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 .
7480
USER www-data
7581
ADD msl-api.env /var/www/msl_api/.env
7682
ADD supervisord.conf /var/www/msl-api-supervisord.conf

docker/images/solr/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM solr:8.11
44
LABEL org.opencontainers.image.authors="Yoda team"
55

66
ENV 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
1010
USER root

0 commit comments

Comments
 (0)