Switch gunicorn to waitress
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
set -e
|
||||
|
||||
# Start API server in background
|
||||
gunicorn "app:create_api_app()" --bind 0.0.0.0:5000 --workers 4 --access-logfile - &
|
||||
waitress-serve --ident=MyFSIO --listen=*:5000 --call app:create_api_app &
|
||||
|
||||
# Start UI server in foreground
|
||||
gunicorn "app:create_ui_app()" --bind 0.0.0.0:5100 --workers 4 --access-logfile -
|
||||
waitress-serve --ident=MyFSIO --listen=*:5100 --call app:create_ui_app
|
||||
|
||||
Reference in New Issue
Block a user