Fix startup template config path and omission from Dockerfile
This commit is contained in:
parent
0d83ce2d93
commit
9c0de8c92c
@ -20,6 +20,7 @@ ADD entrypoint.sh /entrypoint.sh
|
||||
ADD render-template.sh /usr/local/bin/render-template.sh
|
||||
ADD nginx/nginx.conf /etc/nginx/nginx.conf
|
||||
ADD nginx/snikket-common.template /etc/nginx/templates/snikket-common
|
||||
ADD nginx/startup.template /etc/nginx/templates/startup
|
||||
ADD nginx/http.template /etc/nginx/templates/http
|
||||
ADD nginx/https.template /etc/nginx/templates/https
|
||||
ADD supervisord.conf /etc/supervisord/supervisord.conf
|
||||
|
@ -9,7 +9,7 @@ if test -f "$CERT_PATH"; then
|
||||
/usr/local/bin/render-template.sh "/etc/nginx/templates/$proto" "/etc/nginx/sites-enabled/$proto";
|
||||
done
|
||||
else
|
||||
/usr/local/bin/render-template.sh "/etc/nginx/templates/startup.template" "/etc/nginx/sites-enabled/startup";
|
||||
/usr/local/bin/render-template.sh "/etc/nginx/templates/startup" "/etc/nginx/sites-enabled/startup";
|
||||
fi
|
||||
|
||||
exec supervisord -c /etc/supervisord/supervisord.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user