diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-12-10 12:57:35 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-12-10 13:01:32 -0800 |
commit | a05df7caab51ed15376e8dc2b6ab7e23545a6ec0 (patch) | |
tree | f4ba7ab564071513d2a2f8058d7e59133bbcc8ff /extra/docker | |
parent | 059af3e2a28c543287e4389f2813ca0899b65b76 (diff) | |
download | fatcat-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/docker')
-rw-r--r-- | extra/docker/docker-compose.yml | 5 |
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" |