From a05df7caab51ed15376e8dc2b6ab7e23545a6ec0 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 10 Dec 2019 12:57:35 -0800 Subject: tweaks to docker-compose image - don't start kafka image until zookeeper is running - set very liberal "watermarks" for elasticsearch disk monitoring --- extra/docker/docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'extra') diff --git a/extra/docker/docker-compose.yml b/extra/docker/docker-compose.yml index a51d43e1..7081b382 100644 --- a/extra/docker/docker-compose.yml +++ b/extra/docker/docker-compose.yml @@ -17,6 +17,8 @@ services: KAFKA_MESSAGE_MAX_BYTES: 50000000 volumes: - /var/run/docker.sock:/var/run/docker.sock + depends_on: + - zookeeper elasticsearch: build: ../elasticsearch/ ports: @@ -26,4 +28,7 @@ services: cluster.name: "docker-cluster" bootstrap.memory_lock: "true" discovery.type: "single-node" + cluster.routing.allocation.disk.watermark.low: "500mb" + cluster.routing.allocation.disk.watermark.high: "500mb" + cluster.routing.allocation.disk.watermark.flood_stage: "100mb" ES_JAVA_OPTS: "-Xms512m -Xmx512m" -- cgit v1.2.3