27 lines
604 B
Django/Jinja
27 lines
604 B
Django/Jinja
postgres:
|
|
host: postgres
|
|
port: 5432
|
|
database: comentario
|
|
username: postgres
|
|
password: postgres
|
|
{% if smtp_host is defined %}
|
|
smtp:
|
|
host: {{ smtp_host }}
|
|
port: {{ smtp_port | default(587) }}
|
|
username: {{ smtp_username }}
|
|
password: {{ smtp_password }}
|
|
from: {{ smtp_from | default(smtp_username) }}
|
|
{% endif %}
|
|
{% if oauth_client_id is defined %}
|
|
idp:
|
|
oidc:
|
|
- id: authentik
|
|
name: Authentik
|
|
url: {{ oauth_issuer_url }}
|
|
key: {{ oauth_client_id }}
|
|
secret: {{ oauth_client_secret }}
|
|
scopes:
|
|
- openid
|
|
- profile
|
|
- email
|
|
{% endif %}
|