aboutsummaryrefslogtreecommitdiff
path: root/gerboweb/deploy/uwsgi-gerboweb.ini
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2019-03-27 23:08:20 +0900
committerjaseg <git@jaseg.net>2019-03-27 23:08:20 +0900
commitdabe1d8809348cf82c82b9a871f0509e1403a8cd (patch)
tree2329a7525124028208f8df782b2eced9fbfe7625 /gerboweb/deploy/uwsgi-gerboweb.ini
parent874adce8f4efdda653c1e60d5b353a3bc816af93 (diff)
downloadgerbolyze-dabe1d8809348cf82c82b9a871f0509e1403a8cd.tar.gz
gerbolyze-dabe1d8809348cf82c82b9a871f0509e1403a8cd.tar.bz2
gerbolyze-dabe1d8809348cf82c82b9a871f0509e1403a8cd.zip
Deployment to digitalocean works
Diffstat (limited to 'gerboweb/deploy/uwsgi-gerboweb.ini')
-rw-r--r--gerboweb/deploy/uwsgi-gerboweb.ini14
1 files changed, 14 insertions, 0 deletions
diff --git a/gerboweb/deploy/uwsgi-gerboweb.ini b/gerboweb/deploy/uwsgi-gerboweb.ini
new file mode 100644
index 0000000..748af71
--- /dev/null
+++ b/gerboweb/deploy/uwsgi-gerboweb.ini
@@ -0,0 +1,14 @@
+[uwsgi]
+chmod-socket = 660
+master = True
+cheap = True
+idle = 600
+die-on-idle = True # If app is not used often, it will exit and be launched
+ # again by systemd requested by users.
+
+manage-script-name = True
+plugins = python3
+chdir = /var/lib/gerboweb
+mount = /=gerboweb:app
+env = GERBOWEB_SETTINGS=gerboweb.cfg
+