aboutsummaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-12-10 12:57:35 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-12-10 13:01:32 -0800
commita05df7caab51ed15376e8dc2b6ab7e23545a6ec0 (patch)
treef4ba7ab564071513d2a2f8058d7e59133bbcc8ff /extra
parent059af3e2a28c543287e4389f2813ca0899b65b76 (diff)
downloadfatcat-a05df7caab51ed15376e8dc2b6ab7e23545a6ec0.tar.gz
fatcat-a05df7caab51ed15376e8dc2b6ab7e23545a6ec0.zip
tweaks to docker-compose image
- don't start kafka image until zookeeper is running - set very liberal "watermarks" for elasticsearch disk monitoring
Diffstat (limited to 'extra')
-rw-r--r--extra/docker/docker-compose.yml5
1 files changed, 5 insertions, 0 deletions
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"