Skip to content

wodby/solr

Repository files navigation

Apache Solr Docker Container Image

Build Status Docker Pulls Docker Stars

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.

Supported tags and respective Dockerfile links:

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 Wodby: