c02f5ea21e3a2fbb4c654ca92e13906d3b92c970
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%