Add authentik role

This commit is contained in:
John
2026-10-04 19:34:22 +02:00
committed by John Zimmermann
parent 1350a98aac
commit e4613ccb53
11 changed files with 206 additions and 0 deletions
@@ -0,0 +1,20 @@
#!/bin/sh
exec 2>&1
export HOME=/home/authentik
exec chpst -u authentik:authentik -C $HOME \
podman run -it --rm --sig-proxy \
--name=authentik-{{ item }} \
--env-file=/etc/authentik.env \
{% if item == "server" %}
-p 9000:9000 \
{% endif %}
{% if mailhost_is_local is defined and mailhost_is_local %}
--add-host={{ mail_host }}:host-gateway \
{% endif %}
--network=authentik \
-v ./data:/data \
-v ./certs:/certs \
-v ./custom-templates:/templates \
--mount type=bind,src=/tmp/.s.PGSQL.5432,target=/tmp/.s.PGSQL.5432 \
ghcr.io/goauthentik/server:{{ authentik_tag }} {{ item }}