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
2 lines
195 B
Text
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
|