latest config-service setting

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-08-22 20:25:36 +02:00
parent 53e79c0067
commit 2ef81803c6
3 changed files with 22 additions and 8 deletions

View File

@@ -28,10 +28,6 @@ USER app
COPY --chown=app --from=build /usr/src/app/build/libs/*-SNAPSHOT.jar /usr/app/config.jar
COPY --chown=app --from=build /usr/src/app/opentelemetry-javaagent.jar /usr/app/opentelemetry-javaagent.jar
ENV JAVA_TOOL_OPTIONS="-javaagent:/usr/app/opentelemetry-javaagent.jar"
ENV OTEL_SERVICE_NAME="config-service"
ENV OTEL_EXPORTER_OTLP_ENDPOINT="http://opentelemetry-collector.web:4318"
HEALTHCHECK CMD curl --fail http://localhost:5000/actuator/health || exit 1
HEALTHCHECK CMD curl --fail http://localhost:8888/actuator/health || exit 1
CMD ["java", "-jar", "/usr/app/config.jar"]