DEV Community

Cover image for Easy and powerful reverse proxy and load balancing with Docker

Easy and powerful reverse proxy and load balancing with Docker

Stephen Afam-Osemene on August 27, 2017

I build a lot of websites, and I run them in Docker containers. What happens is, I end up with URLs like this 0.0.0.0:1234. This is a problem bec...
Collapse
 
benhemphill profile image
Ben Hemphill • Edited

I would agree with the other's suggestion that you should look into Traefik. I personally favor Kubernetes as the backend for that, but Swarm is likely already installed if you are on a recent version of docker and is supported too. That all being said, I enjoyed your approach and write up. I bet you learned a good amount from this project, and that is never a bad thing!

Collapse
 
glego profile image
Glenn Goffin

Good job Stephen, well documented and very clean written scripts. Thanks for sharing.

Collapse
 
psyhomb profile image
Miloš Bunčić

Yeah Traefik is definitely a good choice for these kind of things, I used it myself in a similar fashion in one of my projects github.com/psyhomb/k8s-deployer

Anyway good work!

Collapse
 
denis_lt profile image
Denis

Why didn't you use Traefik?

Collapse
 
stephenafamo profile image
Stephen Afam-Osemene

Just hearing about it. I'll check it out.