Go to file
2015-01-08 07:48:34 +01:00
nginx_proxy.py proxy variables now may contain ':' (important for IPv6) 2015-01-07 15:14:29 +01:00
README.md a little more documentation 2015-01-08 07:48:34 +01:00

Automated Nginx reverse Proxy for Docker Webservices

Requirements

  1. installed nginx
  2. adapted nginx configuration to include the directory of the generated config files
  3. docker daemon must be configured to listen to TCP port
  4. Executing user must be able to send HUG signals to ngix master process

How it works

  1. Creates a directory in /tmp for the generated config files
  2. Attaches to the stream of events from the Docker daemon
  3. On every event, it scans all container for avaiable environment variable PROXY_DATA