summaryrefslogtreecommitdiff
path: root/roles/monitoring/graphite/web/templates/uwsgi-app.ini.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-12-08 20:06:25 +0100
committerChristian Pointner <equinox@spreadspace.org>2020-12-08 20:06:25 +0100
commit785cae7ccf8c69366438a446ff121ecbb7ad5465 (patch)
treef9971024e7befb12bb2bf26277d7b8c2006c36e1 /roles/monitoring/graphite/web/templates/uwsgi-app.ini.j2
parentadd role for graphite carbon-cache (diff)
add grahpite web and grafana roles
Diffstat (limited to 'roles/monitoring/graphite/web/templates/uwsgi-app.ini.j2')
-rw-r--r--roles/monitoring/graphite/web/templates/uwsgi-app.ini.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/monitoring/graphite/web/templates/uwsgi-app.ini.j2 b/roles/monitoring/graphite/web/templates/uwsgi-app.ini.j2
new file mode 100644
index 00000000..e5b01a04
--- /dev/null
+++ b/roles/monitoring/graphite/web/templates/uwsgi-app.ini.j2
@@ -0,0 +1,8 @@
+[uwsgi]
+plugin = python3
+processes = 2
+socket = 127.0.0.1:{{ graphite_web_uwsgi_port }}
+gid = _graphite
+uid = _graphite
+chdir = /usr/share/graphite-web
+wsgi-file = /usr/share/graphite-web/graphite.wsgi