From: Kai Moritz Date: Fri, 13 Oct 2023 11:39:45 +0000 (+0200) Subject: Start von Service `setup` startet auch `cli` X-Git-Tag: grundlagen/docker---2023-10-signal~5 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=72b815ece3f59e1925651dd74baef6ebe45bb677;p=demos%2Fkafka%2Ftraining Start von Service `setup` startet auch `cli` --- diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 23c53a1..3820311 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -114,6 +114,15 @@ services: depends_on: - schema-registry + cli: + image: juplo/toolbox + command: sleep infinity + stop_grace_period: 0s + depends_on: + - kafka-1 + - kafka-2 + - kafka-3 + setup: image: juplo/toolbox command: @@ -143,9 +152,7 @@ services: fi stop_grace_period: 0s depends_on: - - kafka-1 - - kafka-2 - - kafka-3 + - cli akhq: image: tchiotludo/akhq:0.23.0 @@ -168,13 +175,6 @@ services: - kafka-2 - kafka-3 - cli: - image: juplo/toolbox - command: sleep infinity - stop_grace_period: 0s - depends_on: - - setup - volumes: zookeeper-data: zookeeper-log: