|
@ -35,8 +35,13 @@ if [[ -n "${ADMIN_USERNAME}" ]] && [[ -n "${ADMIN_PASSWORD}" ]] && [[ -n "${ADMI |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
echo "Starting django" |
|
|
echo "Starting django" |
|
|
# gunicorn --bind="0.0.0.0:${PORT:-8000}" --workers="${WORKERS:-4}" app.wsgi --timeout 300 |
|
|
|
|
|
gunicorn --bind="0.0.0.0:${PORT:-8000}" --workers="${WORKERS:-1}" config.wsgi --timeout=300 & |
|
|
|
|
|
|
|
|
gunicorn \ |
|
|
|
|
|
--bind="0.0.0.0:${PORT:-8000}" \ |
|
|
|
|
|
--workers="${WORKERS:-1}" \ |
|
|
|
|
|
--timeout=300 \ |
|
|
|
|
|
--capture-output \ |
|
|
|
|
|
--log-level info \ |
|
|
|
|
|
config.wsgi & |
|
|
gunicorn_pid="$!" |
|
|
gunicorn_pid="$!" |
|
|
|
|
|
|
|
|
echo "Starting celery" |
|
|
echo "Starting celery" |
|
|