Add install elasticsearch plugin section.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-10-26 09:40:53 +08:00
parent 6a3137fc27
commit a0981aa836
2 changed files with 14 additions and 0 deletions

View File

@ -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>

View File

@ -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 ###############################