Configured juplo/toolbox:latest for the utility-service cli
authorKai Moritz <kai@juplo.de>
Thu, 7 Oct 2021 19:24:37 +0000 (21:24 +0200)
committerKai Moritz <kai@juplo.de>
Thu, 21 Oct 2021 20:30:57 +0000 (22:30 +0200)
README.sh
docker-compose.yml

index ee7a58c..050f339 100755 (executable)
--- a/README.sh
+++ b/README.sh
@@ -49,7 +49,7 @@ else
 fi
 
 
 fi
 
 
-docker-compose up -d zookeeper kafka cli kafkacat
+docker-compose up -d zookeeper kafka cli
 
 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
 
 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
index b65635b..56bd6cf 100644 (file)
@@ -117,7 +117,7 @@ services:
       done"
 
   cli:
       done"
 
   cli:
-    image: confluentinc/cp-kafka:6.2.0
+    image: juplo/toolbox
     command: bash -c "
       cub kafka-ready -b kafka:9092 1 60 ;
       kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic recordings ;
     command: bash -c "
       cub kafka-ready -b kafka:9092 1 60 ;
       kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic recordings ;
@@ -126,10 +126,6 @@ services:
       kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic top10 ;
       sleep infinity"
 
       kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic top10 ;
       sleep infinity"
 
-  kafkacat:
-    image: confluentinc/cp-kafkacat:6.2.0
-    command: sleep infinity
-
 networks:
   default:
     external:
 networks:
   default:
     external: