Closed lrog closed 5 years ago
In the devel
branch two scripts were added:
start-service-dev.sh
- starts the medcat service in development mode (and using werkzeug
server),start-service-prod.sh
- starts the medcat in 'production' mode using gunicorn
server.
By default, when running from docker image the prod
version of the script will be run.
Currently, the default development server
werkzeug
is being used to server Flask app. This server is not recommended to be used in production. We should consider providing solution based on either uWSGI or gunicorn or (?) for running the MedCAT service in production.