This commit is contained in:
Annika Merris 2025-05-09 08:29:02 -04:00
parent d312777183
commit 0f3b4dad7e
10 changed files with 42 additions and 13 deletions

View file

@ -30,8 +30,8 @@
mode: u=rw,g=r,o=r
- name: Ensure environment file is available on the server
tags: docker,authentik,settings
ansible.builtin.copy:
src: .env
ansible.builtin.template:
src: env.j2
dest: /opt/authentik/.env
owner: root
group: root

View file

@ -0,0 +1,16 @@
PG_PASS={{ authentik_pg_pass }}
AUTHENTIK_TAG=2025.4.0
AUTHENTIK_SECRET_KEY={{authentik_secret_key}}
# SMTP Host Emails are sent to
AUTHENTIK_EMAIL__HOST=smtp.sendgrid.net
AUTHENTIK_EMAIL__PORT=587
# Optionally authenticate (don't add quotation marks to your password)
AUTHENTIK_EMAIL__USERNAME={{ authentik_email__username }}
AUTHENTIK_EMAIL__PASSWORD={{ authentik_email__password }}
# Use StartTLS
AUTHENTIK_EMAIL__USE_TLS=true
# Use SSL
AUTHENTIK_EMAIL__USE_SSL=false
AUTHENTIK_EMAIL__TIMEOUT=10
# Email address authentik will send from, should have a correct @domain
AUTHENTIK_EMAIL__FROM=authentik@moosenet.work