Merge pull request #390 from LaraDock/elasticsearch
Add install elasticsearch plugin section.
This commit is contained in:
commit
4f7b0ec0c3
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`
|
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>
|
<br>
|
||||||
<a name="PHP"></a>
|
<a name="PHP"></a>
|
||||||
|
@ -309,5 +309,6 @@ services:
|
|||||||
- ./data/sessions:/sessions
|
- ./data/sessions:/sessions
|
||||||
- ./data/caddy:/root/.caddy
|
- ./data/caddy:/root/.caddy
|
||||||
- ./data/elasticsearch/data:/usr/share/elasticsearch/data
|
- ./data/elasticsearch/data:/usr/share/elasticsearch/data
|
||||||
|
- ./data/elasticsearch/pkugins:/usr/share/elasticsearch/pkugins
|
||||||
|
|
||||||
### Add more Containers below ###############################
|
### Add more Containers below ###############################
|
||||||
|
Loading…
Reference in New Issue
Block a user