From 11bf609f474e7b399bb7ef576e4e3c544acc70ba Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 11 Nov 2022 17:19:30 +0100 Subject: [PATCH] =?utf8?q?Das=20Setup=20l=C3=A4sst=20sich=20mit=20`docker-?= =?utf8?q?compose=20up=20setup`=20starten?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- README.sh | 2 -- docker-compose.yml | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.sh b/README.sh index f5bd509..879bae9 100755 --- a/README.sh +++ b/README.sh @@ -24,8 +24,6 @@ else docker image ls $IMAGE fi -echo "Waiting for the Kafka-Cluster to become ready..." -docker-compose exec cli cub kafka-ready -b kafka:9092 1 60 > /dev/null 2>&1 || exit 1 docker-compose up setup docker-compose up -d gateway requests-1 requests-2 consumer diff --git a/docker-compose.yml b/docker-compose.yml index 1f7fa79..4118cc4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -94,6 +94,11 @@ services: kafka-topics --bootstrap-server kafka:9092 --describe --topic in kafka-topics --bootstrap-server kafka:9092 --describe --topic out " + depends_on: + - kafka-1 + - kafka-2 + - kafka-3 + cli: image: juplo/toolbox -- 2.20.1