Skip to content

Commit

Permalink
Docker solr configuration qaevents new solr collection
Browse files Browse the repository at this point in the history
  • Loading branch information
frabacche committed Sep 27, 2023
1 parent f51975b commit ae0ecb3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions dspace/src/main/docker/dspace-solr/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,22 @@ FROM solr:${SOLR_VERSION}-slim
ENV AUTHORITY_CONFIGSET_PATH=/opt/solr/server/solr/configsets/authority/conf \
OAI_CONFIGSET_PATH=/opt/solr/server/solr/configsets/oai/conf \
SEARCH_CONFIGSET_PATH=/opt/solr/server/solr/configsets/search/conf \
STATISTICS_CONFIGSET_PATH=/opt/solr/server/solr/configsets/statistics/conf

STATISTICS_CONFIGSET_PATH=/opt/solr/server/solr/configsets/statistics/conf \
QAEVENTS_CONFIGSET_PATH=/opt/solr/server/solr/configsets/qaevents/conf

USER root

RUN mkdir -p $AUTHORITY_CONFIGSET_PATH && \
mkdir -p $OAI_CONFIGSET_PATH && \
mkdir -p $SEARCH_CONFIGSET_PATH && \
mkdir -p $STATISTICS_CONFIGSET_PATH
mkdir -p $STATISTICS_CONFIGSET_PATH && \
mkdir -p $QAEVENTS_CONFIGSET_PATH

COPY dspace/solr/authority/conf/* $AUTHORITY_CONFIGSET_PATH/
COPY dspace/solr/oai/conf/* $OAI_CONFIGSET_PATH/
COPY dspace/solr/search/conf/* $SEARCH_CONFIGSET_PATH/
COPY dspace/solr/statistics/conf/* $STATISTICS_CONFIGSET_PATH/
COPY dspace/solr/qaevents/conf/* $QAEVENTS_CONFIGSET_PATH/

RUN chown -R solr:solr /opt/solr/server/solr/configsets

Expand Down

0 comments on commit ae0ecb3

Please sign in to comment.