File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 16
16
export GUNICORN_WORKERS=${GUNICORN_WORKERS:- 4}
17
17
export GUNICORN_LOG_LEVEL=${GUNICORN_LOG_LEVEL:- info}
18
18
echo " [LOG] Starting gunicorn on port ${PORT} "
19
- gunicorn -b 0.0.0.0:${PORT} app:app -w $GUNICORN_WORKERS --enable-stdio-inheritance --log-level $GUNICORN_LOG_LEVEL --proxy-protocol --preload
19
+ gunicorn -b 0.0.0.0:${PORT} app:app -w $GUNICORN_WORKERS --enable-stdio-inheritance --log-level $GUNICORN_LOG_LEVEL --proxy-protocol --preload $GUNICORN_EXTRA_ARGS
20
20
fi
21
21
if [ " $DEPLOYMENT " == " celery" ]
22
22
then
23
23
echo " [LOG] Starting celery worker"
24
24
export INTEGRATE_SOCKETIO=false
25
25
export CELERY_LOG_LEVEL=${CELERY_LOG_LEVEL:- info}
26
- celery worker -B -A app.celery --loglevel=$CELERY_LOG_LEVEL
26
+ celery worker -B -A app.celery --loglevel=$CELERY_LOG_LEVEL $CELERY_EXTRA_ARGS
27
27
fi
You can’t perform that action at this time.
0 commit comments