Skip to content

unb-libraries/docker-solr-drupal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solr for Docker/Drupal

Local solr instance for Drupal Solr development

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!

Getting Started

See newspapers.lib.unb.ca for an example of use. In your docker-compose.yml:

Single Core

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.

Multiple Cores

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

License

About

Solr image for drupal instances

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages