Identity and access, checked 2026-09-07

Authelia: Docker configuration reference

Self-hosted forward-auth server adding single sign-on and two-factor authentication in front of a reverse proxy.

At a glance

Ports

Ports
PortWhat listensSource
9091HTTP listener serving the login portal and the /api/authz endpoints the proxy calls for forward auth.source for port 9091

Environment variables

Environment variables
VariableRequiredWhat it doesExampleSource
AUTHELIA_JWT_SECRETYesSigns identity verification JWTs (password reset, email confirmation links). Set via the _FILE variant with a Docker secret rather than inline.openssl rand -hex 64source for AUTHELIA_JWT_SECRET
AUTHELIA_SESSION_SECRETYesEncrypts session data in Redis when a Redis session store is configured.openssl rand -hex 64source for AUTHELIA_SESSION_SECRET
AUTHELIA_STORAGE_ENCRYPTION_KEYYesEncrypts sensitive values at rest in the configured storage backend (SQLite, PostgreSQL or MySQL).openssl rand -hex 64source for AUTHELIA_STORAGE_ENCRYPTION_KEY
TZNoContainer timezone. The bundled compose example sets it explicitly rather than relying on the image default.Australia/Melbournesource for TZ

Volumes that must persist

Volumes
PathWhat is in itSource
/configconfiguration.yml plus the SQLite database when no external database is configured. This is the state to back up.source for /config

Behind a reverse proxy

What it needs alongside it

Dependencies
DependencyWhySource
SQLite (default), PostgreSQL or MySQLStorage backend for users' second-factor devices, sessions metadata and regulation history.source for SQLite (default), PostgreSQL or MySQL

Release timeline

Releases
VersionDateBreakingWhat changedSource
v4.39.222026-09-03NoBug fix: storage access token JWT upgrade.source for release v4.39.22
v4.39.202026-05-26YesSecurity release fixing an access control rule domain match bypass from missing canonicalization; upgrade is not optional.source for release v4.39.20
v4.39.192026-04-12NoFixes inconsistent OAuth2 error messages and an issuer domain suffix check.source for release v4.39.19
v4.39.182026-04-10NoRemoves an incorrect response code check that broke successful Duo API calls.source for release v4.39.18
v4.39.162026-03-14YesSecurity release, see advisory GHSA-gmfg-3v4q-9qr4, plus a fix for an overly strict discovery check.source for release v4.39.16

If it is not coming up

Read from the upstream documentation, repository and container registry by Keita Emsden on 2026-09-07. Every row links the page it came from. Upstream changes without telling anyone, so check the source link before you rely on a value.

Other app references

All app references