selfhostedworld.com logoselfhostedworld.com

Try describing what you need:

authentik logo

authentik

★ 26.0k

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
Oct 18, 2026
Created
Dec 30, 2019
Install Methods
docker-composekubernetes
Authentication
samloauthldap
Runtime / Stack
DockerKubernetes
Privacy & Independence
Cloud: Optional
User Model
Multi-User
Deployment

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

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 Jun 4, 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

Related Software

Nginx Proxy Manager logo

Nginx Proxy Manager

34.4k
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
Warpgate logo

Warpgate

8.1k
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
Zoraxy logo

Zoraxy

5.5k
Zoraxy is a general-purpose HTTP reverse proxy and forwarding tool with a web management interface.
Web ServersCopyleft LicenseProxy Servers+3
Details
SWAG (Secure Web Application Gateway) logo

SWAG (Secure Web Application Gateway)

3.7k
SWAG is a LinuxServer.io container that provides an Nginx reverse proxy with PHP support, automated SSL certificate generation/renewal, and fail2ban-based intrusion prevention.
Web ServersProxy ServersSelf Hosting Solutions+4
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
SafeLine logo

SafeLine

22.8k
SafeLine is a self-hosted web application firewall that protects web apps from attacks and abuse.
Web ServersProxy ServersSelf Hosting Solutions+3
7 ContainersOpen CoreCloud Required
Details
Pangolin logo

Pangolin

23.1k
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
Self Host Blocks logo

Self Host Blocks

511
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
cloud-in-a-bottle logo

cloud-in-a-bottle

1.2k
Cloud in a Bottle is a platform for deploying, using, and sharing web apps on infrastructure you control.
Platform as a ServiceSelf Hosting SolutionsWeb Servers+2
Details
Jauth logo

Jauth

189
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
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
Tyk logo

Tyk

10.9k
Tyk Gateway is an open source, cloud-native API gateway for managing, securing, and monitoring APIs across REST, GraphQL, TCP, and gRPC protocols.
API ManagementProxy ServersAnalytics Tools+2
Details