Sign inSign up

kshaner/solr

By kshaner

Updated about 9 years ago

Solr 3.6.2 - Suitable for working with the Solr service provided by Pantheon

Image
1

10K+

kshaner/solr repository overview

Solr 3.6.2

This container is build for working locally with the Solr service from Pantheon, either Drupal or WordPress.

Tags
  • latest
  • 3.6.2
Docker Compose example with volumes and schema
version: '3'

services:
    solr:
        image: kshaner/solr:latest
        ports:
            - '8984:8983'
        volumes:
            - ./schema.xml:/opt/apache-solr-3.6.2/example/solr/conf/schema.xml
            - solrdata:/opt/apache-solr-3.6.2/example/solr
volumes:
    solrdata: 
Dockerfile:
FROM openjdk:7

ENV SOLR_PORT 8983

WORKDIR /opt
			
RUN curl -s https://archive.apache.org/dist/lucene/solr/3.6.2/apache-solr-3.6.2.tgz > apache-solr.tgz && \
	tar xfvz apache-solr.tgz && \
	rm apache-solr.tgz

WORKDIR /opt/apache-solr-3.6.2/example

CMD java -Djetty.port=${SOLR_PORT} -jar start.jar

Tag summary

Content type

Image

Digest

Size

371.9 MB

Last updated

about 9 years ago

docker pull kshaner/solr