This Dockerfile is intended to be used to set up a standalone Solr server with an initial core
- 5.5 (available for compatibility only, no longer officially supported)
- 6.6 (available for compatibility only, no longer officially supported)
- 7.7 (available for compatibility only, no longer officially supported)
- 7 Dockerfile -
- 8 Dockerfile -
This image is prepared to be used on Lagoon. There are therefore some things already done:
- Folder permissions are automatically adapted with
fix-permissions, so this image will work with a random user.
10-solr-port.shscript to fix and check
20-solr-datadir.shscript to check if
Solrconfig is compliant for Lagoon. This sets directory paths, and configures the correct lock type.
Some options are configurable via environment variables.
|SOLR_JAVA_MEM||512M||Default Java HEAP size (ie.
|SOLR_DATA_DIR||/var/solr||Path of the solr data dir. Be careful, changing this can cause data loss!|
|SOLR_COPY_DATA_DIR_SOURCE||(not set)||Path which the entrypoint script of solr will use to copy into the defined