esackbauer
ok I think I understand. So the port mapping makes sense. and the port binding for the host makes sense. I will bind mailcow to ports 8010/1443 and new web server to 8020/2443, and my unifi controller (Which uses 8443) to 3443. Traffic will be pushed to those ports by nginx on the host based on domain name of the server being queried. I will make the main network router send traffic on these ports all to the host machine (10.10.10.77)
i will run mailcow in its dockerized environment, and another php website/webserver in a second docker environment.
If I do it this way, then none of the internal docker routing matters? or is there any reason to route anything directly to the mailcow-dockerized internal ip’s (172.22.x.x)
Last question, I promise 😃 because I have 5 different domain names running inside my mailcow, do I need to do anything which each domain name specifically in the host (reverse proxy) nginx config, or just route the main.mailserver.com traffic only?
chatgpt told me to use no ports at all but I think its aislop can i cant get it to post here correctly.