This image provides a quickstart basis for local Solr 7.x development in Drupal 8. It is unsuitable and not used in production - use the community image!
See newspapers.lib.unb.ca for an example of use. In your docker-compose.yml:
drupal-solr-lib-unb-ca:
image: ghcr.io/unb-libraries/solr-drupal:8.x-4.x
ports:
- "8983:8983"
entrypoint:
- docker-entrypoint.sh
- solr-precreate
- newspapers.lib.unb.ca
- /solr-conf
where newspapers.lib.unb.ca
is the name of the core you wish to create in Solr. By default the current 7.x schema from search_api_solr will be applied (from /solr-conf). If you need something different, extend this image and copy the files in their place.
drupal-solr-lib-unb-ca:
image: ghcr.io/unb-libraries/solr-drupal:8.x-4.x
ports:
- "8983:8983"
entrypoint:
- docker-entrypoint-multiple.sh
- newspapers.lib.unb.ca:/solr-conf
- pages.newspapers.lib.unb.ca:/solr-conf
- Solr for Docker/Drupal is licensed under the MIT License:
- Attribution is not required, but much appreciated:
Solr for Docker/Drupal by UNB Libraries