Add email to tandoor

This commit is contained in:
Jake Howard 2022-09-22 09:13:28 +01:00
parent 356e04c005
commit cf6cc7de7a
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 26 additions and 8 deletions

View file

@ -15,6 +15,12 @@ services:
- POSTGRES_USER=tandoor - POSTGRES_USER=tandoor
- POSTGRES_PASSWORD=tandoor - POSTGRES_PASSWORD=tandoor
- GUNICORN_MEDIA=1 - GUNICORN_MEDIA=1
- EMAIL_HOST=smtp.eu.mailgun.org
- EMAIL_PORT=465
- EMAIL_HOST_USER={{ tandoor_email_user }}
- EMAIL_HOST_PASSWORD={{ tandoor_email_password }}
- EMAIL_USE_TLS=1
- DEFAULT_FROM_EMAIL={{ tandoor_email_from }}
restart: unless-stopped restart: unless-stopped
labels: labels:
- traefik.enable=true - traefik.enable=true

View file

@ -1 +1,4 @@
tandoor_secret_key: "{{ vault_tandoor_secret_key }}" tandoor_secret_key: "{{ vault_tandoor_secret_key }}"
tandoor_email_user: "{{ vault_tandoor_email_user }}"
tandoor_email_password: "{{ vault_tandoor_email_password }}"
tandoor_email_from: "{{ vault_tandoor_email_from }}"

View file

@ -1,9 +1,18 @@
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
37383465336661346131616431653662623562386238373738383866336165663263363033323535 32376533376133353135353163353539336133646561363930313164393935616638333166346137
6339643539373037663938636636353362313064366636330a333637316665326530646430666663 3762663933633039346564646366333639313333323138330a633531343733326438363633656466
35616463626139373136383538336466653236336330376534373931656435393562323033313730 31376566653130633462613938333031636164346636393034373830356332333633396661613639
3361613934643538650a646237326665313538613264303836393032666631346366653361303039 3364393366353631360a396638626435613936663536346531663834643939396433383337613031
30353163346538356431303564613837363364323035313239623364643538663336383962396530 37323463616465333234616532313330666362336431343462623833353961623030343135313362
66663063333938363034316330333936633535346538323938346461343234636236363863353235 34346161356137336632386533336131383166383038343664613962343838393134346332643936
36323362396438613039313039353038323733613764383538393961626561373835653963336638 62646132306364383232363933653664626434656562643539623163663763643032346535623035
64393133353161656266 36386236393631396235306533666134303166373839623831363461346238316132653936393738
36383362383232326531633165323431346139633864336364343030353335303261376537343163
34623362353233666631643638643235666465613965313064333565343431656566363561386636
62633635306166313238313365313134343539353232616461316330666561653765333866306133
35343137323636623565626634326364616665663432313434623231636231656335343332333632
32343664663363306237643532396231383838626361333533336432613930313232626536646331
39643632666661313534363431346138383933383861356232383639353939306336626465636436
64616663613561643066636466663663616137376136643538383139393437393134633264343139
64353430316630393231393636313164383336396535383834323239666535623130313561396635
30373865353734663131373339393163396664663135343330313761613530333062