Self-hosted Authentik identity provider stack deployed via Docker Compose.
- Authentik server - handles user authentication & SSO (SAML/OIDC protocols)
- Redis - caching store for Authentik
- PostgreSQL - primary database for Authentik
- Authentik worker - manages outposts and background tasks
Customizable and brandable via .env, media, CSS, and override files.
-
Clone the repo.
-
Copy and edit environment variables:
cp example.env .env
- Set values such as database credentials and Authentik configuration.
-
Launch services:
docker compose up -d
-
Access the Authentik web interface:
- Default HTTP port:
9000 - Default HTTPS port:
9443(if enabled via.env)
- Default HTTP port:
-
Create user accounts and policies within the Authentik UI.
-
Use
docker-compose.override.yamlto add or modify services. -
Customize branding:
media/for uploaded assetscss/,images/folders for styling and theme
| File / Folder | Purpose |
|---|---|
docker-compose.yaml |
Defines core containers (Postgres, Redis, server, worker) |
example.env / .env |
Environment variables for setup and runtime |
docker-compose.override.yaml |
Optional overrides or extensions |
media/, css/, images/ |
Custom branding and assets |