Closed hexylena closed 8 years ago
http://httpd.apache.org/docs/current/rewrite/rewritemap.html
We can append to a "database" of docker host + docker port (or maybe run them all on the same port?) within the main mako template. Whenever our docker images kill themselves, they'll call up a separate mako template, the sole purpose of which is to remove that specific entry from the "database". It will need to wait on a 200 OK
(and possibly specific content in the page) to kill itself, or keep sending the request.
Closed since this is now possible through docker.
A few possibilities:
This of course raises the issue of having to keep port mappings somewhere, so this may add a dependency, for this configuration option, of having a database available somewhere to talk to.