Try describing what you need:

authentik logo

authentik

★ 26.4k

A self-hosted alternative to Auth0

MIT License·proprietaryOpen Core — Some Features Paid3 Containers — 3 containers — light hosting footprintCompose · K8sNeeds Postgres5 documented maintainers

About

authentik is an open-source identity provider built for modern single sign-on and broader identity management. It is aimed at organizations and self-hosters that need to centralize authentication and...

Community Ratings

No ratings yet

Features

  • SSO identity provider
  • SAML support
  • OAuth2/OIDC support
  • LDAP support
  • RADIUS support
  • self-hosting
  • enterprise offering
  • admin interface

Details

Last Updated
Nov 17, 2026
Created
Dec 30, 2019
Install Methods
docker-composekubernetes
Authentication
samloauthldap
Runtime / Stack
DockerKubernetes
Privacy & Independence
Cloud: Optional
User Model
Multi-User
Theming
Dark mode
Deployment

Deployment: Docker Compose ✓3 Containers — light hosting footprintRuns as 3 containers

Run authentik yourself

Pick how much you want to manage.

2 more ways to host

Some links earn us a commission. netcup pays us one and is our preferred VPS host.

Is this your project? Sponsor a listing

Run authentik with Docker Compose

Compose file from the authentik project repository.

3 services · database: postgres · infra: postgres

no resource limits declared

needs persistent storage (7 volumes)

lifecycle/container/compose.yml · @ d2cc7d4 · scanned Nov 3, 2026

services:
  postgresql:
    env_file:
    - .env
    environment:
      POSTGRES_DB: ${PG_DB:-authentik}
      POSTGRES_PASSWORD: ${PG_PASS:?database password required}
      POSTGRES_USER: ${PG_USER:-authentik}
    healthcheck:
      interval: 30s
      retries: 5
      start_period: 20s
      test:
      - CMD-SHELL
      - pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}
      timeout: 5s
    image: docker.io/library/postgres:16-alpine
    restart: unless-stopped
    volumes:
    - database:/var/lib/postgresql/data
  server:
    command: server
    depends_on:
      postgresql:
        condition: service_healthy
    env_file:
    - .env
    environment:
      AUTHENTIK_POSTGRESQL__HOST: postgresql
      AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik}
      AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS}
      AUTHENTIK_POSTGRESQL__USER: ${PG_USER:-authentik}
      AUTHENTIK_SECRET_KEY: ${AUTHENTIK_SECRET_KEY:?secret key required}
    image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2026.8.0-rc1}
    ports:
    - ${COMPOSE_PORT_HTTP:-9000}:9000
    - ${COMPOSE_PORT_HTTPS:-9443}:9443
    restart: unless-stopped
    shm_size: 512mb
    volumes:
    - ./data:/data
    - ./custom-templates:/templates
  worker:
    command: worker
    depends_on:
      postgresql:
        condition: service_healthy
    env_file:
    - .env
    environment:
      AUTHENTIK_POSTGRESQL__HOST: postgresql
      AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik}
      AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS}
      AUTHENTIK_POSTGRESQL__USER: ${PG_USER:-authentik}
      AUTHENTIK_SECRET_KEY: ${AUTHENTIK_SECRET_KEY:?secret key required}
    image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2026.8.0-rc1}
    restart: unless-stopped
    shm_size: 512mb
    user: root
    volumes:
    - /var/run/docker.sock:/var/run/docker.sock
    - ./data:/data
    - ./certs:/certs
    - ./custom-templates:/templates
volumes:
  database:
    driver: local

This file may be out of date. Check the authentik documentation for current setup steps.

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Jun 4, 2026

Alternatives to authentik

Pocket ID logo

Pocket ID

10.3k
A simple OIDC provider that lets users authenticate to services with passkeys.
Authentication Services
Details
Stack Auth logo

Stack Auth

6.9k
Stack Auth is an open-source authentication platform that provides sign-in, user management, authorization, and related auth features for web apps.
Authentication ServicesPermissive LicenseCopyleft License+1
Details

Related Software

Engity's Bifröst logo

Engity's Bifröst

87
Bifröst is an advanced SSH server that can replace OpenSSH Server and adds OpenID Connect/OAuth2-based access, Docker container execution, and Kubernetes pod execution.
Remote AccessNetwork UtilitiesAuthentication Services+1
Details
Jauth logo

Jauth

188
Jauth is a lightweight SSL/TLS reverse proxy with authorization for self-hosted applications, including optional single sign-on.
Web ServersCopyleft LicenseProxy Servers+2
Details
Pomerium logo

Pomerium

5.1k
Pomerium is an identity and context-aware reverse proxy that provides secure, clientless access to internal web apps and services without a corporate VPN.
Web ServersPermissive LicenseProxy Servers+2
2 ContainersOpen Core
Details
Teleport logo

Teleport

21.1k
Teleport is an identity-aware access platform for securing and auditing access to infrastructure, applications, databases, Kubernetes, and cloud services.
Miscellaneous ToolsRemote AccessAuthentication Services+3
Open Core
Details
Warpgate logo

Warpgate

8.3k
A transparent bastion host for SSH, HTTPS, Kubernetes, MySQL, and PostgreSQL that records sessions and provides a built-in web admin UI.
Remote AccessProxy ServersAuthentication Services+2
Details
Self Host Blocks logo

Self Host Blocks

521
SelfHostBlocks is a NixOS-based self-hosting platform that provides standardized building blocks for services like storage, authentication, monitoring, and reverse proxying.
Self Hosting SolutionsCopyleft LicenseAutomation Tools+2
Details
Nginx Proxy Manager logo

Nginx Proxy Manager

34.7k
A Docker-based Nginx reverse proxy manager with a web admin interface for forwarding hosts and managing SSL certificates.
Web ServersPermissive LicenseProxy Servers+3
Details
Firezone logo

Firezone

9.2k
Firezone is an open source platform for secure remote access and zero-trust network connectivity for organizations.
Remote AccessPermissive LicenseNetwork Utilities+2
Open Core
Details
go-doxy logo

go-doxy

4.2k
A lightweight reverse proxy with a WebUI for managing container routes, access control, and automation.
Web ServersPermissive LicenseProxy Servers+3
Details
Pangolin logo

Pangolin

23.8k
Pangolin is an identity-based remote access platform that combines reverse proxy and VPN capabilities for secure access to private and public resources.
Web ServersRemote AccessCopyleft License+3
Open Core
Details
cerbos logo

cerbos

4.7k
Cerbos is an authorization layer and policy decision point that evaluates YAML-based access control rules for application resources.
Authentication ServicesSelf Hosting SolutionsPermissive License
Telemetry: Opt-Out
Details
Cosmos logo

Cosmos

6.2k
Cosmos is a self-hosted home server gateway and server manager that helps users securely install, manage, and expose applications.
Self Hosting SolutionsProxy ServersAuthentication Services+3
Details