From 8669b332782b2566c3c1f86356c48ebf570e120f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Tue, 6 Feb 2018 18:09:41 +0100 Subject: [PATCH] custom run script --- .s2i/bin/run | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 .s2i/bin/run 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"