From bd238d32a0d29978836985ed192bf06b438bfd91 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 3 Jul 2021 03:14:04 -0400 Subject: enable smtp for grafana --- modules/tozt/templates/grafana.ini | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 modules/tozt/templates/grafana.ini (limited to 'modules/tozt/templates/grafana.ini') 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 -- cgit v1.2.3-54-g00ecf