In a docker-compose.yml:
version: '3'
services:
solr:
image: quay.io/continuouspipe/solr4:stable
environment:
SOLR_CORE_NAME: example_core
volumes:
- solr_data:/usr/local/share/solr/example_core/data/
volumes:
solr_data:
driver: local
driver_opts:
type: tmpfs
device: tmpfs
o: size=100m,uid=1000
In a Dockerfile:
FROM quay.io/continuouspipe/solr4:stable
docker-compose build --pull solr_4_10
docker-compose push solr_4_10
This is a Docker image that provides a Solr 4 search service that tracks the upstream library image.
As this is based off of a semi-official solr image, please see their README, here: https://hub.docker.com/r/makuk66/docker-solr/builds/bxsjvchebmrgdmbtjabbta3/
To tie in with the official 6.x versions of the solr image (see the Solr library image), we provide the ability to create a core on startup. This avoids manual intervention.
To provide this functionality, /bin/bash -c /usr/local/share/solr/startup.sh will run on boot, which will:
Started [email protected]:8983.tee process and clean up the temporary log file.$SOLR_CORE_NAME is present already.The core will use the /usr/local/share/solr/$SOLR_CORE_NAME/ directory, and you should place the desired configuration
in /usr/local/share/solr/$SOLR_CORE_NAME/conf/.
/usr/local/share/solr/$SOLR_CORE_NAME/data/ will be created if it doesn't exist, and you should configure this to be
on a volume if you wish to keep the data between containers.
Content type
Image
Digest
Size
326.6 MB
Last updated
over 7 years ago
docker pull continuouspipe/solr:4.10