Updated README.md to mention SOLR_CORES rather than SOLR_CORE (#39)

* Updated README.md to mention SOLR_CORES rather than SOLR_CORE

Reflects the changes made in #37.

* Apply suggestions

Co-authored-by: Miguel Ángel Cabrera Miñagorri <devgorri@gmail.com>

Co-authored-by: Miguel Ángel Cabrera Miñagorri <devgorri@gmail.com>
This commit is contained in:
Alexander
2021-12-07 12:11:09 +01:00
committed by GitHub
parent 536a4988b8
commit d58c60a594

View File

@@ -154,7 +154,7 @@ When you start the solr image, you can adjust the configuration of the instance
- `SOLR_PORT_NUMBER`: Port used by Solr server. Default: **8983**
- `SOLR_SERVER_DIR`: Specify the Solr server directory. Default: **/opt/bitnami/solr/server**
- `SOLR_CORE`: Core name to create at first run. By default, it will not create a core. (E.g.: '**my_core**')
- `SOLR_CORES`: List of core names to create at first run separated by either a space, (` `), a comma (`,`) or a semicolon (`;`). No default. (E.g.: '**my_core_en,my_core_es**')
- `SOLR_CORE_CONF_DIR`: Configuration directory to copy when creating a new core. Default: **data_driven_schema_configs**
Cluster related environment variables:
@@ -190,14 +190,14 @@ This requires a minor change to the [`docker-compose.yml`](https://github.com/bi
solr:
...
environment:
- SOLR_CORE=my_core
- SOLR_CORES=my_core
...
```
#### Specifying Environment Variables on the Docker command line
```console
$ docker run -d -e SOLR_CORE=my_core --name solr bitnami/solr:latest
$ docker run -d -e SOLR_CORES=my_core --name solr bitnami/solr:latest
```
### Using your Apache Solr Cores configuration files