Solr 9 local instance (solr9, :8986, configsets from solr_cores_stage worktree)

- make solr8 / make solr9 switches local Drupal via untracked settings.solr.php
- update_solr_config.sh clears conf/ before unzipping the generated config

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-11 20:33:53 +01:00
co-authored by Claude Opus 5.5
parent 714f8fd2c9
commit 842765d31a
5 changed files with 49 additions and 3 deletions
+17
View File
@@ -74,6 +74,22 @@ services:
ports:
- 8985:8983
# Solr 9 pour la branche stage (même structure, configsets = worktree solr_cores_stage)
solr9:
image: solr:9.11.0
environment:
- SOLR_HOME=/var/solr/data
- SOLR_MODULES=extraction,langid,ltr,analysis-extras
# Solr 9 (security manager) : autorise la lecture des configsets hors SOLR_HOME
- SOLR_OPTS=-Dsolr.allowPaths=/opt/configsets
volumes:
- ./var_solr9:/var/solr
- ./solr_cores_stage:/opt/configsets:ro
networks:
- solr
ports:
- 8986:8983
# solr-legacy:
# build: ./Docker/solr-legacy/
# volumes:
@@ -113,6 +129,7 @@ services:
# - mysql-legacy
- redis
- solr
- solr9
# php-legacy:
# build: ./Docker/php-legacy/