Skip to content

Commit 52f76fc

Browse files
authored
Integrating Solr10 in babel (#220)
* Integrating Solr10 in babel * Install all the dependencies with cpanm in one line
1 parent 8f1c270 commit 52f76fc

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

common/docker/solr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ services:
2929
build: ../../ptsearch-solr #TODO: Build from image in ghcr.io
3030
ports:
3131
- "8984:8983"
32+
environment:
33+
SOLR_MODULES: analysis-extras
34+
command: solr-foreground --user-managed # Ensures Solr 10 starts in standalone mode, which is required for the way we are mounting cores and configs
3235
healthcheck:
3336
<<: *healthcheck-defaults
3437
test: "curl -f --retry-connrefused http://solr-ptsearch:8983/solr/ptsearch/admin/ping"

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ services:
9595
service: solr-lss-dev
9696
profiles:
9797
- backend
98+
- stage_item
9899

99100
solr-ptsearch:
100101
extends:
@@ -122,6 +123,8 @@ services:
122123
depends_on:
123124
mysql-sdr:
124125
condition: service_healthy
126+
solr-lss-dev:
127+
condition: service_healthy
125128
profiles:
126129
- stage_item
127130

slip/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ RUN apt-get update && apt-get install -y \
1717
libipc-run-perl \
1818
libjson-xs-perl \
1919
libmailtools-perl \
20-
libprometheus-tiny-shared \
2120
libtest-class-perl \
2221
libwww-perl \
2322
libxml-libxml-perl \
@@ -28,7 +27,8 @@ RUN apt-get update && apt-get install -y \
2827
zip
2928

3029
RUN cpanm --notest \
31-
File::Pairtree
30+
File::Pairtree \
31+
Prometheus::Tiny::Shared
3232

3333
RUN ln -s /tmp /ram
3434

0 commit comments

Comments
 (0)