Docker-compose not working with localhost redirect
I'm kinda new with docker and yarp so I probably made some basic mistake.
For context: I have a yarp gateway created in asp.net core web api and a micro-service also in asp.net core web api. When I go to the gateway url I want it to redirect to the micro-service. I was able to get this to work in two seperate containers.
However when I try to use docker-compose it wont work. The error I get the most is (http error 503) cannot assign requested address from my docker container. I have tried host.docker.internal but it yielded no results.
I'm kinda new with docker and yarp so I probably made some basic mistake. For context: I have a yarp gateway created in asp.net core and a micro-service also in asp.net core. When I go to the gatew...