79b6019152f027d28f10fb7c6b6d73c727dd1ac9
Automated Nginx reverse Proxy for Docker Webservices
Requirements
- installed nginx
- adapted nginx configuration to include the directory of the generated config files
- docker daemon must be configured to listen to TCP port
- Executing user must be able to send HUG signals to ngix master process
How it works
- Creates a directory in /tmp for the generated config files
- Attaches to the stream of events from the Docker daemon
- On every event, it scans all container for avaiable environment variable PROXY_DATA
Description
Languages
Python
93.3%
Dockerfile
4.1%
HTML
2%
Shell
0.6%