From b3c3b1c1ab19d197d323d7c69e03d9bd09147690 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 16 Oct 2021 16:43:02 +0200 Subject: [PATCH] top10: 1.0.1 - changed default-port and exposed all actuator-endpoints --- Dockerfile | 2 +- pom.xml | 2 +- src/main/resources/application.properties | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index bbd15ef..899fd4b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM openjdk:11-jre-slim COPY target/*.jar /opt/app.jar -EXPOSE 8080 +EXPOSE 8084 ENTRYPOINT ["java", "-jar", "/opt/app.jar"] CMD [] diff --git a/pom.xml b/pom.xml index 9bda638..818687f 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ de.juplo.kafka.wordcount top10 - 1.0.0 + 1.0.1 Wordcount-Top-10 Top-10 stream-processor of the multi-user wordcount-example diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 8b13789..c78fdb0 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1 +1,2 @@ - +server.port=8084 +management.endpoints.web.exposure.include=* -- 2.20.1