nginx-proxy-auto-docker/Procfile
Marc Abramowitz 048bfad743 Pause 2 seconds before starting nginx
This hopefully lets nginx start after dockergen is done.

This prevents nginx from failing when there is a custom nginx config
that depends on things in the generated nginx config.

Fixes: GH-378
2016-03-02 09:52:33 -08:00

2 lines
195 B
Text

nginx: sleep 2; echo "Starting nginx..."; nginx
dockergen: echo "Starting docker-gen..."; docker-gen -watch -only-exposed -notify "nginx -s reload" /app/nginx.tmpl /etc/nginx/conf.d/default.conf