Always use an external uWSGI server to run the web service.

Added `waitress` dependency. For performance and security reasons, it's
better to always run the Flask application inside of a uWSGI server.

`waitress` also makes things easier by avoiding to ask the user to
manually provide the external executable arguments, as it was the case
with `uwsgi` and `gunicorn`.
This commit is contained in:
Fabio Manganiello 2023-05-05 00:07:13 +02:00
parent 2c254e8eb9
commit 285f3941d9
Signed by: blacklight
GPG key ID: D90FBA7F76362774
5 changed files with 40 additions and 109 deletions
docs/source

View file

@ -301,6 +301,7 @@ autodoc_mock_imports = [
'bleak',
'bluetooth_numbers',
'TheengsDecoder',
'waitress',
]
sys.path.insert(0, os.path.abspath('../..'))