Read emails from secrets

This commit is contained in:
Jake Howard
2021-02-14 12:29:14 +00:00
parent 872471ef52
commit ec0c78e6d9
6 changed files with 27 additions and 4 deletions

View File

@ -13,9 +13,9 @@ services:
- GF_SMTP_ENABLED=true
- GF_SMTP_HOST=smtp.fastmail.com:465
- GF_SMTP_USER=jake@theorangeone.net
- GF_SMTP_USER={{ grafana_smtp_user }}
- GF_SMTP_PASSWORD={{ grafana_smtp_password }}
- GF_SMTP_FROM_ADDRESS=grafana@jakehoward.tech
- GF_SMTP_FROM_ADDRESS={{ grafana_from_email }}
- GF_SMTP_FROM_NAME=grafana
volumes:

View File

@ -5,3 +5,17 @@ grafana_smtp_password: !vault |
36383262386365386664613431373863333963326538633535336139383433316465356236666466
6530386564313761300a346239646234353631386530663931613861313664666633346237313863
31623136616236363235666634303434383866346462643731346532646561656236
grafana_smtp_user: !vault |
$ANSIBLE_VAULT;1.1;AES256
33613266323466316166643631393938653439383333343736313061393261366662663238303035
6132346334343863633232303863636230333962316633650a616661346634646666636439323032
63633936336361303635323064666637396335626136613431366161653062303534386637656666
6630623330613439640a613863326331656235313164663736643539373934636633383430346365
39356331376364373931393365646630316566353662356532383034616439393237
grafana_from_email: !vault |
$ANSIBLE_VAULT;1.1;AES256
62613637623430356637343861326237366162626435306336376461643062643265363438666366
3932333666346338366334303564343064323862373930390a333162636231663961386532326264
65626435353036663938356330303564346137363961313236636263333238313166656231353931
6161633634636337320a396661373963623661363162643161393033653032623432323536306630
39346665653031316261346636336566343563373165653763643831313234356532