Open ericbusboom opened 8 years ago
Could use docker-py to read events from the docker socket, then control NGINX. Probably could just duplicate most of jwilder/nginx-proxy, with a bit more complexity.
If so, should definitely have the controller running in a seperate process, and nginx mapps in the config file, with inotify to restart on changes.
Create a special container that can take web requests for stopped UI containers, then restart the container and re-direct the request. This would probably require an extra configuration in jwilder/nginx-proxy to recieve the stopped event and transfer to a new container.