From 18f08e5e15bcc8cd681223e95b0ffcfe33ec388e Mon Sep 17 00:00:00 2001 From: Bill Seremetis Date: Mon, 31 Mar 2025 15:44:47 +0300 Subject: [PATCH 1/2] Upgrade to SOLR 9 --- docker-compose.solr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.solr.yaml b/docker-compose.solr.yaml index 6930aa8..4cd60eb 100644 --- a/docker-compose.solr.yaml +++ b/docker-compose.solr.yaml @@ -42,7 +42,7 @@ services: RUN sed -i '/X-Forwarded-/,/-->/ {//d}' /opt/solr/server/etc/jetty.xml USER solr args: - SOLR_BASE_IMAGE: ${SOLR_BASE_IMAGE:-solr:8} + SOLR_BASE_IMAGE: ${SOLR_BASE_IMAGE:-solr:9} restart: "no" # Solr is served from this port inside the container. expose: From 35705c775957eb1a0b6cbf1c3bafe7ba07a977b7 Mon Sep 17 00:00:00 2001 From: Bill Seremetis Date: Mon, 31 Mar 2025 15:45:04 +0300 Subject: [PATCH 2/2] Update readme, make it easier to copy commands --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0c6cf6a..a20a156 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ See [the documentation in the `doc` folder](doc/README.md) This originates from the classic Drupal `solr:8` image recipe used for a long time by Drupal users and compatible with `search_api_solr`. -* It installs a [`.ddev/docker-compose.solr.yaml`](docker-compose.solr.yaml) using the `solr:8` docker image. +* It installs a [`.ddev/docker-compose.solr.yaml`](docker-compose.solr.yaml) using the `solr:9` docker image. * A standard Drupal 9+ Solr configuration is included in [.ddev/solr/conf](solr/conf). * A [.ddev/docker-entrypoint-initdb.d/solr-configupdate.sh](solr/docker-entrypoint-initdb.d/solr-configupdate.sh) is included and mounted into the Solr container so that you can change Solr config in `.ddev/solr/conf` with just a `ddev restart`.