Make Quarkus health check run on another port than the application

Viewed 374

I have a Quarkus application which I need health check implemented on a different port than the application. Fx application running on port 8080 and health check running on 8081.

Do anyone have an example on how to achieve this?

Im running Quarkus 1.8.2.Final and using this dependency for health check

<dependency>
      <groupId>io.quarkus</groupId>
      <artifactId>quarkus-smallrye-health</artifactId>
</dependency>
0 Answers
Related