Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you configure the port on wildfly for microprofile-health endpoint?

The standard behaviour for wildfly-17 (and 18) with microprofile-health-smallrye is, that the /health endpoints are published under the management port.

Is there a way to configure it to use a different port?

That behaviour is difficult in some situations (with docker and kubernetes) to open up the management port completely, and make it accessible, for other "machines" than localhost.

Thanks in advance,

Gabriel

like image 957
GabrielJoerg Avatar asked Nov 07 '22 12:11

GabrielJoerg


1 Answers

Jeff Mesnil answered my thread on the wildfly-user chat -> It is not possible to run health endpoint on application port. WildFly only expose them to the managment port.

like image 161
Flo Sailer Avatar answered Nov 25 '22 17:11

Flo Sailer