a little more documentation

This commit is contained in:
Joachim Lusiardi 2015-01-08 07:48:34 +01:00
parent 1eda6e5cb8
commit c02f5ea21e
1 changed files with 7 additions and 2 deletions

View File

@ -3,6 +3,11 @@
## Requirements
1. installed nginx
2. adapted nginx configuration
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. existing /tmp/nginx to store proxy files
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*