Skip to content

o19s/solr-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Solr Docker

Sample Dockerfiles for running Solr in a docker container. With this approach we have separated the service and configuration into two containers. This allows our team to re-use the base solr container across many projects. The configuration for any core(s) happens in a separate core container which is layered on the first. Settings are exposed via environment variables which may be overridden in the core container.

Running

  1. Build / find a JRE 8 container (update the solr/Dockerfile to point at this container)

  2. Build the solr container

    cd solr
    docker build -t solr:5.3.0-1 .
  3. Build the core container

    cd core
    docker build -t solr-core .
  4. Run the container

    docker run -P solr-core

About

Sample Dockerfiles for running Solr in a container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages