initial upload

This commit is contained in:
2026-02-12 14:07:22 +01:00
parent 40623ba331
commit 3308ffec42
75 changed files with 714 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
[Unit]
Description=Authentik Redis Cache
[Container]
AutoUpdate=registry
ContainerName=authentik-cache
Exec=--save 60 1 --loglevel warning
Image=docker.io/library/redis:alpine
Pod=authentik.pod
Volume=authentik-cache.volume:/data
[Service]
Restart=always
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,2 @@
[Volume]
VolumeName=authentik-cache

View File

@@ -0,0 +1,2 @@
[Volume]
VolumeName=authentik-certs

View File

@@ -0,0 +1,18 @@
[Unit]
Description=Authentik Database
[Container]
AutoUpdate=registry
ContainerName=authentik-database
Environment=POSTGRES_DB=authentik
Environment=POSTGRES_USER=authentik
Image=docker.io/library/postgres:16-alpine
Pod=authentik.pod
Secret=authentik-database-password,type=env,target=POSTGRES_PASSWORD
Volume=authentik-database.volume:/var/lib/postgresql/data
[Service]
Restart=always
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,2 @@
[Volume]
VolumeName=authentik-database

View File

@@ -0,0 +1,17 @@
[Unit]
Description=Authentik LDAP Provider
[Container]
AutoUpdate=registry
ContainerName=authentik-ldap
Environment=AUTHENTIK_HOST=http://authentik-server:9000
Environment=AUTHENTIK_INSECURE=true
Image=ghcr.io/goauthentik/ldap:2025.8
Pod=authentik.pod
Secret=authentik-ldap-token,type=env,target=AUTHENTIK_TOKEN
[Service]
Restart=always
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,2 @@
[Volume]
VolumeName=authentik-media

View File

@@ -0,0 +1,33 @@
[Unit]
Description=Authentik Server
[Container]
AutoUpdate=registry
ContainerName=authentik-server
Environment=AUTHENTIK_REDIS__HOST=localhost
Environment=AUTHENTIK_POSTGRESQL__HOST=localhost
Environment=AUTHENTIK_POSTGRESQL__USER=authentik
Environment=AUTHENTIK_POSTGRESQL__NAME=authentik
Environment=AUTHENTIK_BOOTSTRAP_LDAPSERVICE_USERNAME=ldapservice
Environment=AUTHENTIK_BOOTSTRAP_LDAP_BASEDN=DC=chrayed,DC=de
Environment=AUTHENTIK_BOOTSTRAP_LDAPSERVICE_USERNAME=ldapservice
Environment=AUTHENTIK_EMAIL__HOST=smtp.purelymail.com
Environment=AUTHENTIK_EMAIL__PORT=465
Environment=AUTHENTIK_EMAIL__USERNAME=mohamed@chrayed.de
Environment=AUTHENTIK_EMAIL__USE_TLS=true
Environment=AUTHENTIK_EMAIL__FROM=mohamed@chrayed.de
Exec=server
Image=ghcr.io/goauthentik/server:2025.8
Pod=authentik.pod
Secret=authentik-database-password,type=env,target=AUTHENTIK_POSTGRESQL__PASSWORD
Secret=authentik-secret-key,type=env,target=AUTHENTIK_SECRET_KEY
Secret=authentik-ldap-password,type=env,target=AUTHENTIK_BOOTSTRAP_LDAPSERVICE_PASSWORD
Secret=mail-password,type=env,target=AUTHENTIK_EMAIL__PASSWORD
Volume=authentik-media.volume:/media
Volume=authentik-templates.volume:/templates
[Service]
Restart=always
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,2 @@
[Volume]
VolumeName=authentik-templates

View File

@@ -0,0 +1,23 @@
[Unit]
Description=Authentik Worker
[Container]
ContainerName=authentik-worker
AutoUpdate=registry
Image=ghcr.io/goauthentik/server:2025.8
Pod=authentik.pod
Exec=worker
Volume=authentik-certs.volume:/certs
Volume=authentik-media.volume:/media
Volume=authentik-templates.volume:/templates
Environment=AUTHENTIK_REDIS__HOST=localhost
Environment=AUTHENTIK_POSTGRESQL__HOST=localhost
Environment=AUTHENTIK_POSTGRESQL__USER=authentik
Environment=AUTHENTIK_POSTGRESQL__NAME=authentik
Secret=authentik-database-password,type=env,target=AUTHENTIK_POSTGRESQL__PASSWORD
Secret=authentik-secret-key,type=env,target=AUTHENTIK_SECRET_KEY
[Service]
Restart=always
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,3 @@
[Network]
Driver=bridge
NetworkName=authentik

13
authentik/authentik.pod Normal file
View File

@@ -0,0 +1,13 @@
[Unit]
Description=Authentik Pod
[Pod]
PodName=authentik
Network=authentik.network
PublishPort=9000:9000
PublishPort=3389:3389
PublishPort=6636:6636
[Install]
WantedBy=default.target