Hi,
I have several containers that expose a port (to differentiate them) and have created a proxy_nnn.(s)tpl) template files for each container, it works fine.
Now I have a container that exposes 4 ports, but 2 are already taken.
What is recommended? My guess is that I have to put everything into the same proxy_ file since we can attach only one to a domain.
But if I need to expose 8098 as well as 8099 for the same container, how do I do this?
Something like
In what would this help?
If I set them to 8085 and 8086 I still face the same problem to let the proxy redirect for both ports. How do I achieve this?
Now if you say to change the original already used 2 ports from other containers to something else in order to free them for my configuration, we still have the same problem. Almost all docker ports are 8080 and 8081, so we have to change them and then tell the proxy to use those 2 ports.
How do we write a proxy_nnn template to handle 2 ports or even 3 or 4 ?