From c5700c2117f6c445278f272572c8b5732bf53bbf Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 16 Oct 2021 16:39:52 +0200 Subject: [PATCH 1/1] recorder: 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..9c0b843 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM openjdk:11-jre-slim COPY target/*.jar /opt/app.jar -EXPOSE 8080 +EXPOSE 8081 ENTRYPOINT ["java", "-jar", "/opt/app.jar"] CMD [] diff --git a/pom.xml b/pom.xml index 98cc0dc..edcedf5 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ de.juplo.kafka.wordcount recorder - 1.0.0 + 1.0.1 Wordcount-Recorder Recorder-service of the multi-user wordcount-example diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 8b13789..28d43c9 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1 +1,2 @@ - +server.port=8081 +management.endpoints.web.exposure.include=* -- 2.20.1