From 4501a173ad65888c5f83cd8e28d2234aee4f33ff Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 6 Oct 2023 19:13:41 +0200 Subject: [PATCH] =?utf8?q?Sch=C3=B6nere=20YAML-Syntax=20f=C3=BCr=20`setup`?= =?utf8?q?-Service?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- docker/docker-compose.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 2b677c7..e5962eb 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -66,8 +66,10 @@ services: setup: image: juplo/toolbox - command: > - bash -c " + command: + - bash + - -c + - | if [ -e INITIALIZED ] then echo -n Bereits konfiguriert: @@ -88,7 +90,6 @@ services: && kafka-topics --bootstrap-server kafka:9092 --describe --topic test \ && date > INITIALIZED fi - " depends_on: - kafka-1 - kafka-2 -- 2.20.1