From 4b216b175b840084e0c434120543e0464e0fb12d Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 2 Apr 2020 17:40:16 -0700 Subject: uwsgi config file --- extra/deploy/uwsgi.ini | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 extra/deploy/uwsgi.ini diff --git a/extra/deploy/uwsgi.ini b/extra/deploy/uwsgi.ini new file mode 100644 index 0000000..cac53bc --- /dev/null +++ b/extra/deploy/uwsgi.ini @@ -0,0 +1,14 @@ +# uwsgi is used in production deployment, in combination with pipenv (which +# generates the .venv file) + +[uwsgi] +plugin = python37,http +http = :9119 +#socket = 127.0.0.1:3031 +manage-script-name = True +mount = /=fatcat_covid19.webface:app +virtualenv = .venv +processes = 6 +threads = 4 +stats = 127.0.0.1:3331 +buffer-size = 32768 -- cgit v1.2.3