First run docker entrypoint scripts before running prerun
This commit is contained in:
parent
51d6dde825
commit
ee215d0db5
|
@ -1,7 +1,4 @@
|
|||
#!/bin/bash
|
||||
# Run the prerun script to init CKAN and create the default admin user
|
||||
python prerun.py
|
||||
|
||||
# Run any startup scripts provided by images extending this one
|
||||
if [[ -d "/docker-entrypoint.d" ]]
|
||||
then
|
||||
|
@ -15,6 +12,9 @@ then
|
|||
done
|
||||
fi
|
||||
|
||||
# Run the prerun script to init CKAN and create the default admin user
|
||||
python prerun.py
|
||||
|
||||
# Set the common uwsgi options
|
||||
UWSGI_OPTS="--socket /tmp/uwsgi.sock --uid 92 --gid 92 --http :5000 --master --enable-threads --paste config:/srv/app/production.ini --lazy-apps --gevent 2000 -p 2 -L"
|
||||
|
||||
|
|
Loading…
Reference in New Issue