Add install elasticsearch plugin section.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
6a3137fc27
commit
a0981aa836
13
README.md
13
README.md
@ -788,6 +788,19 @@ docker-compose up -d elasticsearch
|
||||
|
||||
2 - Open your browser and visit the localhost on port **9200**: `http://localhost:9200`
|
||||
|
||||
### Install ElasticSearch Plugin
|
||||
|
||||
1 - Install the ElasticSearch plugin like [delete-by-query](https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugins-delete-by-query.html).
|
||||
|
||||
```bash
|
||||
docker exec {container-name} /usr/share/elasticsearch/bin/plugin install delete-by-query
|
||||
```
|
||||
|
||||
2 - Restart elasticsearch container
|
||||
|
||||
```bash
|
||||
docker restart {container-name}
|
||||
```
|
||||
|
||||
<br>
|
||||
<a name="PHP"></a>
|
||||
|
@ -309,5 +309,6 @@ services:
|
||||
- ./data/sessions:/sessions
|
||||
- ./data/caddy:/root/.caddy
|
||||
- ./data/elasticsearch/data:/usr/share/elasticsearch/data
|
||||
- ./data/elasticsearch/pkugins:/usr/share/elasticsearch/pkugins
|
||||
|
||||
### Add more Containers below ###############################
|
||||
|
Loading…
Reference in New Issue
Block a user