From b9aa5346b1e2133e21d5d9015a25540aa12df394 Mon Sep 17 00:00:00 2001 From: Vladimir Vitkov Date: Mon, 19 Oct 2015 11:48:52 +0300 Subject: [PATCH] Graphite - webapp app server Goes in /etc/uwsgi/apps-enabled/graphite-web.ini --- monitoring/graphite/uwsgi/graphite-web.ini | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 monitoring/graphite/uwsgi/graphite-web.ini diff --git a/monitoring/graphite/uwsgi/graphite-web.ini b/monitoring/graphite/uwsgi/graphite-web.ini new file mode 100644 index 0000000..ab2e0fc --- /dev/null +++ b/monitoring/graphite/uwsgi/graphite-web.ini @@ -0,0 +1,10 @@ +[uwsgi] +processes = 2 +socket = 127.0.0.1:3031 +gid = www-data +uid = www-data +chdir = /opt/graphite/conf +#wsgi-file = /opt/graphite/conf/graphite.wsgi +pythonpath = /opt/graphite/webapp +env = DJANGO_SETTINGS_MODULE=graphite.settings +module = django.core.wsgi:get_wsgi_application()