Fix ES docker container for GHA tests (#6284)

This commit is contained in:
Rodrigo Zhou
2024-07-16 19:12:44 -05:00
committed by GitHub
parent 71a73f32d2
commit 9a88296b53
3 changed files with 69 additions and 84 deletions

View File

@@ -32,12 +32,22 @@ services:
ports:
- "9200:9200"
environment:
- cluster.routing.allocation.disk.threshold_enabled=true
- cluster.routing.allocation.disk.watermark.low=512mb
- cluster.routing.allocation.disk.watermark.high=256mb
- cluster.routing.allocation.disk.watermark.flood_stage=128mb
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms1g -Xmx1g
elasticsearch8:
image: elasticsearch:8.0.0
ports:
- "9200:9200"
environment:
- cluster.routing.allocation.disk.threshold_enabled=true
- cluster.routing.allocation.disk.watermark.low=512mb
- cluster.routing.allocation.disk.watermark.high=256mb
- cluster.routing.allocation.disk.watermark.flood_stage=128mb
- discovery.type=single-node
- xpack.security.enabled=false
- ES_JAVA_OPTS=-Xms1g -Xmx1g