Comments on: Microservices with Micronaut, KrakenD and Consul https://piotrminkowski.com/2021/02/23/microservices-with-micronaut-krakend-and-consul/ Java, Spring, Kotlin, microservices, Kubernetes, containers Mon, 18 Oct 2021 15:53:28 +0000 hourly 1 https://wordpress.org/?v=6.9.1 By: piotr.minkowski https://piotrminkowski.com/2021/02/23/microservices-with-micronaut-krakend-and-consul/#comment-1263 Mon, 18 Oct 2021 15:53:28 +0000 https://piotrminkowski.com/?p=9481#comment-1263 In reply to Javier.

Hi,
It seems you can override ip address, but no HTTP port:

consul:
client:
registration:
ip-addr:
prefer-ip-address: true
check:
http: true

]]>
By: Javier https://piotrminkowski.com/2021/02/23/microservices-with-micronaut-krakend-and-consul/#comment-1261 Thu, 14 Oct 2021 20:10:53 +0000 https://piotrminkowski.com/?p=9481#comment-1261 Hi

Good tutorial. I have just one question.
If you have your micros wrapped in a Docker image, when the service register itself with Consul, it is using its internal port. However, the service is only accesible by the exposed container port.

Is there a way to force Consult to register services using the docker exposed port instead of the port declared by the Spring App?

Thanks in advance

]]>