summaryrefslogtreecommitdiffstats
path: root/modules/tozt/templates/grafana.ini
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tozt/templates/grafana.ini')
-rw-r--r--modules/tozt/templates/grafana.ini21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/tozt/templates/grafana.ini b/modules/tozt/templates/grafana.ini
new file mode 100644
index 0000000..05bbe24
--- /dev/null
+++ b/modules/tozt/templates/grafana.ini
@@ -0,0 +1,21 @@
+[server]
+http_port = 3001
+domain = grafana.tozt.net
+root_url = https://grafana.tozt.net/
+
+[database]
+type = postgres
+host = 127.0.0.1:5432
+name = grafana
+user = grafana
+
+[users]
+allow_sign_up = false
+
+[smtp]
+enabled = true
+host = mail.tozt.net:587
+user = grafana-noreply@tozt.net
+password = <%= @smtp_password %>
+from_address = grafana-noreply@tozt.net
+startTLS_policy = MandatoryStartTLS