Switch gunicorn to waitress

This commit is contained in:
2025-11-22 17:20:52 +08:00
parent ebef3dfa57
commit c8b1c33118
3 changed files with 3 additions and 19 deletions

View File

@@ -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