Sets up nginx on image for config app with ssl
Move copying entry scripts to quay-entrypoint
This commit is contained in:
parent
2b19e1d93f
commit
69c155ef4f
11 changed files with 139 additions and 2 deletions
12
config_app/init/service/nginx/run
Executable file
12
config_app/init/service/nginx/run
Executable 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'
|
Reference in a new issue