updated docker_init.sh

This commit is contained in:
Marvin Zhang
2019-07-07 16:30:37 +08:00
parent e62e490014
commit 126944d1cd

View File

@@ -7,7 +7,7 @@ case $1 in
python $WORK_DIR/crawlab/flower.py >> /opt/crawlab/flower.log 2>&1 &
python $WORK_DIR/crawlab/worker.py >> /opt/crawlab/worker.log 2>&1 &
cd $WORK_DIR/crawlab \
&& gunicorn --log-level=DEBUG -b 0.0.0.0 -w 8 $WORK_DIR/crawlab/app:app
&& gunicorn --log-level=DEBUG -b 0.0.0.0 -w 8 app:app
;;
worker)
python $WORK_DIR/crawlab/app.py >> /opt/crawlab/app.log 2>&1 &