An open API service indexing awesome lists of open source software.

https://github.com/wodby/solr

Solr docker container image
https://github.com/wodby/solr

alpine docker solr

Last synced: about 1 year ago
JSON representation

Solr docker container image

Awesome Lists containing this project

README

          

# Apache Solr Docker Container Image

[![Build Status](https://github.com/wodby/solr/workflows/Build%20docker%20image/badge.svg)](https://github.com/wodby/solr/actions)
[![Docker Pulls](https://img.shields.io/docker/pulls/wodby/solr.svg)](https://hub.docker.com/r/wodby/solr)
[![Docker Stars](https://img.shields.io/docker/stars/wodby/solr.svg)](https://hub.docker.com/r/wodby/solr)

## Docker Images

This Solr image designed to be run in Solr Cloud mode only.

❗️For better reliability we release images with stability tags (`wodby/solr:9-X.X.X`) which correspond to [git tags](https://github.com/wodby/solr/releases). We strongly recommend using images only with stability tags.

- All images based on Alpine Linux
- Base image: [eclipse-temurin](https://github.com/adoptium/containers)
- [GitHub actions builds](https://github.com/wodby/solr/actions)
- [Docker Hub](https://hub.docker.com/r/wodby/solr)

[_(Dockerfile)_]: https://github.com/wodby/solr/tree/master/Dockerfile

Supported tags and respective `Dockerfile` links:

* `9.8.0`, `9.8`, `9`, `latest` [_(Dockerfile)_]

### Supported architectures

All images built for `linux/amd64` and `linux/arm64`

## Environment Variables

| Variable | Default Value | Description |
|---------------------------|---------------|---------------------------------|
| `SOLR_HEAP` | `1024m ` | |
| `ZK_HOST` | | |
| `SOLR_CLOUD_PASSWORD` | | |

## Orchestration actions

Usage:
```
make COMMAND [params ...]

commands:
create (default) core [host config_set instance_dir]
create-collection collection num_shards config [host]
init [host]
upgrade
ping core [host]
reload core [host]
delete core [host]
update-password username password new_password [host]
add-admin-user admin_username admin_password user password [host]
check-ready [host max_try wait_seconds]

default params values:
host localhost
config_set data_driven_schema_configs (or _default in newer versions)
max_try 1
wait_seconds 1
delay_seconds 0
```

## Deployment

Deploy Solr to your server via ![Wodby](https://www.google.com/s2/favicons?domain=wodby.com) Wodby:

* [Generic Solr](https://wodby.com/stacks/solr)
* [Solr for Drupal](https://wodby.com/stacks/solr-drupal)