Skip to content

Commit

Permalink
🔧(project) force disk watermark limit value for elasticsearch
Browse files Browse the repository at this point in the history
By default, watermark values are set to percentages of the available disk space.
On local for developers, such available spaces are not enough to run the es
container. Low and high limits are set to absolute limit values.
  • Loading branch information
quitterie-lcs committed Jun 5, 2024
1 parent c8562e0 commit c80147b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ services:
bootstrap.memory_lock: true
discovery.type: single-node
xpack.security.enabled: "false"
cluster.routing.allocation.disk.watermark.low: "2gb"
cluster.routing.allocation.disk.watermark.high: "1gb"
cluster.routing.allocation.disk.watermark.flood_stage: "500mb"
cluster.info.update.interval: "1m"
ports:
- "9200:9200"
mem_limit: 2g
Expand Down

0 comments on commit c80147b

Please # to comment.