10
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 29 May 2026
10 points (100.0% liked)
Docker
1448 readers
1 users here now
founded 3 years ago
MODERATORS
A fronting web server acting as a reverse proxy is the solution to this. In the current landscape I would look into Traefik, it has integration with docker allowing it to discover the correct backend servers.
With this solution you do not need to expose port 80/443 from the other containers at all, rather you’d expose the ports from the Traefik container which will read the request header and sent it to the correct container based on hostname. This means that you might need to setup DNS and point hostnames to your server if you haven’t already.