MirrorNest
← Alle Anleitungen

Authentik

Authentik is a flexible identity provider supporting OAuth2/OIDC, SAML, LDAP, and proxy-based SSO, officially deployed via a single downloadable Docker Compose file.

Zielsystem: Any Docker hostSecurityAuthenticationOffizielle Website ↗Offizielle Dokumentation ↗
Diese Anleitung basiert auf der offiziellen Dokumentation von Authentik, oben verlinkt — überprüfe dort immer die genauen Paket-/Versionsnamen, bevor du diese Befehle auf einem Produktionsserver ausführst, da sich Distributions- und Projektversionen mit der Zeit ändern.
  1. 1Download the official compose file

    wget https://docs.goauthentik.io/compose.yml
  2. 2Generate required secrets

    echo "PG_PASS=$(openssl rand -base64 36 | tr -d '\n')" >> .env
    echo "AUTHENTIK_SECRET_KEY=$(openssl rand -base64 60 | tr -d '\n')" >> .env
  3. 3Start authentik

    docker compose pull
    docker compose up -d

    Do not bind-mount /etc/timezone or /etc/localtime into the authentik containers.

  4. 4Complete initial setup

    Open http://<server-ip-or-hostname>:9000 and set a password for the default akadmin user.