How to setup .NET Core Web API running from a Docker container to work with a Service Discovery with Eureka?
This is my current configuration that is not working:
Startup.cs
appsettings.json
- Option 1: Using localhost as hostname
- Option 2: Using host docker internal
Also in eureka.client.serviceUrl I've used those other options:
- http://localhost:8761/eureka/
- http://localhost:8761/eureka
- http://localhost:8761/
- http://localhost:8761
At the final, there is nothing registered in Eureka:
This is my first time working with something like this, so I followed all the steps in this tutorial



