Sets up nginx on image for config app with ssl

Move copying entry scripts to quay-entrypoint
This commit is contained in:
Sam Chow 2018-06-07 15:12:47 -04:00
parent 2b19e1d93f
commit 69c155ef4f
11 changed files with 139 additions and 2 deletions

View file

@ -0,0 +1,12 @@
#! /bin/bash
echo 'Starting nginx'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH
QUAYCONF=${QUAYCONF:-"$QUAYPATH/conf"}
/usr/sbin/nginx -c $QUAYDIR/config_app/conf/nginx.conf
echo 'Nginx exited'