|
|
|
|
|
by curun1r
4082 days ago
|
|
This is a pretty easy solve...haproxy + consul + consul-template allows you to spin up a new container, register it with consul and have the consul-template watcher regenerate the haproxy config to route to the new port. It's a little overkill if you're running it on a single machine, but in a real production environment, it's a pretty lightweight solution. |
|