Support for detecting port from Docker container other than the .Net Core app
Our configuration includes an nginx proxy in front of .Net Core. When using the Visual Studio Tools for Docker, it attempts to detect the exposed port from the .Net Core application container, and uses it to launch the browser.
However, when I add the nginx proxy to the docker-compose.yml file, I'd like it to instead get the port from the proxy container, which is then forwarding to the application. Currently, it fails with an error "Can not find any host ports in the conainer 'xxxx'" and i have to lookup the port number myself from Docker.
Allowing this would mean our debugging in Visual Studio is more complete, including things like forwarding headers, etc.
I've attached an example docker-compose.yml file.