aboutsummaryrefslogtreecommitdiffstats
path: root/extra/deploy/uwsgi.ini
diff options
context:
space:
mode:
Diffstat (limited to 'extra/deploy/uwsgi.ini')
-rw-r--r--extra/deploy/uwsgi.ini14
1 files changed, 14 insertions, 0 deletions
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