Commit 4f7b0ec0 authored by Bo-Yi Wu's avatar Bo-Yi Wu Committed by GitHub

Merge pull request #390 from LaraDock/elasticsearch

Add install elasticsearch plugin section.
parents 6a3137fc a0981aa8
......@@ -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 ###############################
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment