Sign inSign up

toccoag/openshift-solr

By toccoag

•Updated over 8 years ago

Solr configured on run in OpenShift in conjunction with Nice

Image
0

1M+

toccoag/openshift-solr repository overview

⁠Solr on Openshift

Build Status

This image is set up to provide search functionality to the Tocco Business Framework⁠. It has been optimized to run on the OpenShift platform⁠ provided by VSHN⁠.

⁠Configuration

All configuration parameters available in /opt/solr/bin/solr.in.sh within the image can be overridden using environment variables by prefixing SOLR_PARAM_.

⁠Example

Change parameter SOLR_HEAP=1024m:

SOLR_PARAM_SOLR_HEAP=1024m

Take a look at the sample config⁠ used in the tests to see available properties.

⁠Caveats

⁠.trashcan

In our Openshift environment a persistent volume is mounted from a Gluster cluster. The mount contains a .trashcan directory and Solr won't have access to it. Unfortunately, Solr can't deal with that. To get it working anyway, the volume is mounted at /persist and the data directory is a subdirectory of it (/persist/index_data). This way .trashcan (/persist/.trashcan) is no longer in Solr's data directory.

⁠Lock File Removal

The lock file is currently removed during startup to avoid already-locked errors.

Tag summary

Content type

Image

Digest

Size

569.6 MB

Last updated

over 8 years ago

docker pull toccoag/openshift-solr