Setup email for grafana
This commit is contained in:
parent
f7a0877e72
commit
872471ef52
2 changed files with 17 additions and 0 deletions
|
@ -8,6 +8,16 @@ services:
|
||||||
- GF_DATABASE_URL=postgres://grafana:grafana@db/grafana
|
- GF_DATABASE_URL=postgres://grafana:grafana@db/grafana
|
||||||
- GF_RENDERING_SERVER_URL=http://renderer:8081/render
|
- GF_RENDERING_SERVER_URL=http://renderer:8081/render
|
||||||
- GF_RENDERING_CALLBACK_URL=http://grafana:3000/
|
- GF_RENDERING_CALLBACK_URL=http://grafana:3000/
|
||||||
|
- GF_SERVER_ROOT_URL=https://grafana.jakehoward.tech
|
||||||
|
- GF_SERVER_ENABLE_GZIP=true
|
||||||
|
|
||||||
|
- GF_SMTP_ENABLED=true
|
||||||
|
- GF_SMTP_HOST=smtp.fastmail.com:465
|
||||||
|
- GF_SMTP_USER=jake@theorangeone.net
|
||||||
|
- GF_SMTP_PASSWORD={{ grafana_smtp_password }}
|
||||||
|
- GF_SMTP_FROM_ADDRESS=grafana@jakehoward.tech
|
||||||
|
- GF_SMTP_FROM_NAME=grafana
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ app_data_dir }}/grafana:/var/lib/grafana"
|
- "{{ app_data_dir }}/grafana:/var/lib/grafana"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
7
ansible/roles/forrest/vars/main.yml
Normal file
7
ansible/roles/forrest/vars/main.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
grafana_smtp_password: !vault |
|
||||||
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
30316563333931376361643430343463636266636464303536356166623062633236323331363465
|
||||||
|
3039666538633165616139663764343031316339666565390a663934313165306631303162373864
|
||||||
|
36383262386365386664613431373863333963326538633535336139383433316465356236666466
|
||||||
|
6530386564313761300a346239646234353631386530663931613861313664666633346237313863
|
||||||
|
31623136616236363235666634303434383866346462643731346532646561656236
|
Loading…
Reference in a new issue