ansible/roles/authentik_docker/templates/authentik.env.j2

31 lines
1.7 KiB
Django/Jinja

AUTHENTIK_REDIS__HOST="{{ container_names.authentik.redis }}"
AUTHENTIK_POSTGRESQL__HOST="{{ container_names.authentik.db }}"
AUTHENTIK_POSTGRESQL__USER={{ database_vars.postgres.authentik.user }}
AUTHENTIK_POSTGRESQL__NAME={{ database_vars.postgres.authentik.db }}
AUTHENTIK_POSTGRESQL__PASSWORD={{ database_vars.postgres.authentik.password }}
VIRTUAL_HOST={{ authentik_domain }}
VIRTUAL_PORT={{ authentik_port_http }}
LETSENCRYPT_HOST={{ authentik_domain }}
LETSENCRYPT_EMAIL={{letsencrypt_email }}
#PG_PASS={{ database_vars.postgres.authentik.password }}
AUTHENTIK_SECRET_KEY={{ authentik_secret }}
AUTHENTIK_ERROR_REPORTING__ENABLED={{ authentik_error_reporting }}
# SMTP Host Emails are sent to
AUTHENTIK_EMAIL__HOST={{ authentik_email_host }}
AUTHENTIK_EMAIL__PORT={{ authentik_email_port }}
# 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={{ authentik_email_use_tls }}
# Use SSL
AUTHENTIK_EMAIL__USE_SSL={{ authentik_email_use_ssl }}
AUTHENTIK_EMAIL__TIMEOUT={{ authentik_email_timeout }}
# Email address authentik will send from, should have a correct @domain
AUTHENTIK_EMAIL__FROM={{ authentik_email_from }}
AUTHENTIK_PORT_HTTP={{ authentik_port_http }}
AUTHENTIK_PORT_HTTPS={{ authentik_port_https }}
AUTHENTIK_DEFAULT_USER_CHANGE_EMAIL={{ authentik_allow_users_to_change_email }}
AUTHENTIK_DEFAULT_USER_CHANGE_NAME={{ authentik_allow_users_to_change_names }}
AUTHENTIK_DEFAULT_USER_CHANGE_USERNAME={{ authentik_allow_users_to_change_usernames }}
AUTHENTIK_GEOIP=/dev/null #The docs say this is the way to disable GeoIP...