This Docker Image is based on jwilder/docker-gen.
The difference is this image lets you use environment variables to set some parameter.
Variables:
TEMPLATE: Name of the template file without extension. "nginx" means "/etc/docker-gen/templates/nginx.tmpl"
TARGET: Path of the generated configuration file
NOTIFY_CONTAINER: Name of a container. Set it if you know the name of the container that should be notified about the new configuration.
NOTIFY_PROCESS: Name of a process. Set it if you share the PID namespace with the container where the process is running which should be notified about the new configuration.