diff --git a/.s2i/bin/run b/.s2i/bin/run new file mode 100755 index 0000000..3c8071c --- /dev/null +++ b/.s2i/bin/run @@ -0,0 +1,10 @@ +!/bin/bash + +source /opt/app-root/etc/generate_container_user + +set -e + +# Default values are set here +export "LOG_LEVEL=${LOG_LEVEL:=debug}" + +exec nginx -g "daemon off;" -c "/opt/app-root/etc/nginx.conf"