Awesome
Apache Solr Docker Container Image
Docker Images
❗️For better reliability we release images with stability tags (wodby/solr:8-X.X.X
) which correspond to git tags. We strongly recommend using images only with stability tags.
- All images based on Alpine Linux
- Base image: wodby/base-solr
- GitHub actions builds
- Docker Hub
Supported tags and respective Dockerfile
links:
8
,latest
(Dockerfile)7.7
,7
(Dockerfile)6.6
,6
(Dockerfile)5.5
,5
(Dockerfile)
Environment Variables
Variable | Default Value | Description |
---|---|---|
SOLR_HEAP | 1024m | |
SOLR_DEFAULT_CONFIG_SET | See config sets | |
ZK_HOST | ||
SOLR_CLOUD_PASSWORD |
Config sets
Drupal Search API Solr
We recommend running Solr with Zookeeper (Solr Cloud mode) and uploading config sets directly from the Search API Solr Admin UI.
Read old approach instructions
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: