From ee5042122da662e570fdf234bb794f91ab891863 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 11 Jun 2023 09:40:54 +0200 Subject: [PATCH] Docker-Setup in das Unterverzeichnis `docker` verschoben --- README.sh | 6 +++--- docker-compose.yml => docker/docker-compose.yml | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename docker-compose.yml => docker/docker-compose.yml (100%) diff --git a/README.sh b/README.sh index 0ee50a9..7ddfbbf 100755 --- a/README.sh +++ b/README.sh @@ -2,7 +2,7 @@ if [ "$1" = "cleanup" ] then - docker-compose down -v + docker-compose -f docker/docker-compose.yml down -v mvn clean exit fi @@ -12,10 +12,10 @@ if [ "$1" = "build" ]; then exit; fi trap 'kill $(jobs -p) 2>/dev/null' EXIT -docker-compose up -d +docker-compose -f docker/docker-compose.yml up -d 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 -f docker/docker-compose.yml exec cli cub kafka-ready -b kafka:9092 1 60 > /dev/null 2>&1 || exit 1 echo "Producing messages" mvn exec:java@producer diff --git a/docker-compose.yml b/docker/docker-compose.yml similarity index 100% rename from docker-compose.yml rename to docker/docker-compose.yml -- 2.20.1