Sign inSign up

cyberitas/solrcloud-zk-compact

By cyberitas

•Updated over 2 years ago

Image
0

377

cyberitas/solrcloud-zk-compact repository overview

⁠solrcloud-zk-compact Docker Image Overview

The solrcloud-zk-compact Docker image provides an easy and streamlined way to deploy Apache Solr in cloud mode with ZooKeeper integration, based on the official Solr base image (version 8.11). This image is designed for simplicity and ease of use, catering especially to environments where a lightweight, compact SolrCloud setup is desired.

⁠Features

  • Solr in Cloud Mode: Runs Apache Solr in cloud mode, enabling features like distributed indexing and search capabilities, which are essential for high-availability and scalable search solutions.
  • Integrated ZooKeeper: Comes with ZooKeeper enabled, facilitating the management of the SolrCloud configuration and cluster state, right out of the box.
  • Automatic Credential Setup: On initial startup, the image automatically sets up credentials in ZooKeeper, ensuring your SolrCloud instance is secured from the get-go. If the credentials are already set, the image skips this step.
  • Environment Variables: Users can specify SOLR_USER and SOLR_PASSWORD environment variables to customize the credentials. If these are not set, the image defaults to using solr as the username and SolrRocks as the password.

⁠Usage

To run this image effectively, you should consider the following:

  • Setting Environment Variables: Define SOLR_USER and SOLR_PASSWORD to secure your SolrCloud instance with custom credentials.

    Example:

  docker run -e SOLR_USER=myuser -e SOLR_PASSWORD=mypassword -p 8983:8983 cyberitas/solrcloud-zk-compact:8.11
  • Data Persistence: For data and configuration persistence, mount the /var/solr folder to a permanent volume or an EFS share. This ensures that your Solr data and configurations are retained across container restarts and deployments.

Example:

    docker run -e SOLR_USER=myuser -e SOLR_PASSWORD=mypassword -p 8983:8983 cyberitas/solrcloud-zk-compact:8.11

⁠Getting Started

To get started with solrcloud-zk-compact, simply pull the image from Docker Hub and run it with your desired configurations. This image simplifies the process of deploying a secure, SolrCloud environment with minimal setup, making it ideal for both development and production use cases.

For more detailed information on configuration and advanced usage, please refer to the official Solr documentation.

Tag summary

Content type

Image

Digest

sha256:10be8b974…

Size

340.6 MB

Last updated

over 2 years ago

docker pull cyberitas/solrcloud-zk-compact:8.11