From: Kai Moritz Date: Sun, 8 Oct 2023 20:31:06 +0000 (+0200) Subject: Service `cruise-control-ui` ergänzt: Scheitert noch an CORS X-Git-Tag: config/cruise-control---2023-10-signal~6 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=7937dab68601748c04e591945bf3c6942b5ab912;p=demos%2Fkafka%2Ftraining Service `cruise-control-ui` ergänzt: Scheitert noch an CORS --- diff --git a/docker/README.sh b/docker/README.sh index 7268bc9..c4be44b 100755 --- a/docker/README.sh +++ b/docker/README.sh @@ -11,3 +11,4 @@ git submodule update --init cruise-control || exit 1 (cd cruise-control; ./gradlew jar) || exit 1 ln -sf cruise-control/cruise-control-metrics-reporter/build/libs/cruise-control-metrics-reporter-*.jar cruise-control-metrics-reporter.jar docker build -t juplo/cruise-control . +docker build -t juplo/cruise-control-ui cruise-control-ui diff --git a/docker/config.csv b/docker/config.csv new file mode 100644 index 0000000..7b09636 --- /dev/null +++ b/docker/config.csv @@ -0,0 +1 @@ +dev,juplo,http://localhost:9090/kafkacruisecontrol/ diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index d769965..6345cbd 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -237,6 +237,13 @@ services: - kafka-2 - kafka-3 + cruise-control-ui: + image: juplo/cruise-control-ui + volumes: + - ./config.csv:/usr/share/nginx/html/static/config.csv + ports: + - "9080:80" + volumes: zookeeper-data: zookeeper-log: