diff --git a/README.md b/README.md index 53b6080..362e24d 100644 --- a/README.md +++ b/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} +```
diff --git a/docker-compose.yml b/docker-compose.yml index a3b4ead..495e6f8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 ###############################