aboutsummaryrefslogtreecommitdiffstats
path: root/extra/deploy
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-04-02 17:40:16 -0700
committerBryan Newbold <bnewbold@archive.org>2020-04-02 17:40:16 -0700
commit4b216b175b840084e0c434120543e0464e0fb12d (patch)
tree8c18f1e6a5be3cd252c480ab806a1291321378ff /extra/deploy
parenta2ef746b5609cc35ea8a26236cc2ff9122c684f4 (diff)
downloadfatcat-covid19-4b216b175b840084e0c434120543e0464e0fb12d.tar.gz
fatcat-covid19-4b216b175b840084e0c434120543e0464e0fb12d.zip
uwsgi config file
Diffstat (limited to 'extra/deploy')
-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