Skip to content

Commit

Permalink
feat: disable elasticsearch disk treshold check and set other default…
Browse files Browse the repository at this point in the history
… values instead of 95%
  • Loading branch information
PascalBrouwers committed Jun 1, 2022
1 parent 069ce69 commit 342ed04
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,15 @@ services:
- 9300:9300
environment:
- discovery.type=single-node
- http.port=9200
- http.cors.enabled=true
- http.cors.allow-origin=http://localhost:9100
- http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization
- http.cors.allow-credentials=true
- cluster.routing.allocation.disk.threshold_enabled=false
- cluster.routing.allocation.disk.watermark.flood_stage=200mb
- cluster.routing.allocation.disk.watermark.low=500mb
- cluster.routing.allocation.disk.watermark.high=300mb
volumes:
- elasticsearch-mount:/usr/share/elasticsearch/data

Expand Down

0 comments on commit 342ed04

Please sign in to comment.