Refactor everything

This commit is contained in:
Tobias Reisinger 2023-12-14 02:20:13 +01:00
parent 2e100d290f
commit 3f2e60becf
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
69 changed files with 366 additions and 281 deletions
_ansible/roles/authentik/vars

View file

@ -1,5 +1,5 @@
---
svc:
authentik_svc:
domain: auth.serguzim.me
name: authentik
port: 9000
@ -10,7 +10,7 @@ svc:
user: "{{ vault_authentik.db.user }}"
pass: "{{ vault_authentik.db.pass }}"
svc_env:
authentik_env:
AUTHENTIK_SECRET_KEY: "{{ vault_authentik.secret_key }}"
AUTHENTIK_EMAIL__HOST: "{{ mailer.host }}"
@ -31,10 +31,9 @@ svc_env:
AUTHENTIK_POSTGRESQL__USER: "{{ svc.db.user }}"
AUTHENTIK_POSTGRESQL__PASSWORD: "{{ svc.db.pass }}"
compose:
authentik_compose:
watchtower: false
image: ghcr.io/goauthentik/server:{{ svc.image_tag }}
env: true
file:
services:
app: