Refactor everything
This commit is contained in:
parent
2e100d290f
commit
3f2e60becf
69 changed files with 366 additions and 281 deletions
_ansible/roles/authentik/vars
|
@ -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:
|
||||
|
|
Reference in a new issue