Merge pull request #390 from LaraDock/elasticsearch

Add install elasticsearch plugin section.
This commit is contained in:
Bo-Yi Wu 2016-10-26 11:16:00 +08:00 committed by GitHub
commit 4f7b0ec0c3
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 ###############################