Self Host Wizard Documentación

Ingreso único (authelia)

Ingreso único en una caja Self Host Wizard: la pieza authelia, en auth.<dominio de apps>, ingreso none, límite de memoria 80 MB.

De un vistazo

DatoValor
Direcciónhttps://auth.<dominio de apps>
Ingresonone: sin ingreso de la oficina adelante
Límite de memoria80 MB (ram_mb: pico medido × 1,3)
Base de datosninguna compartida: guarda sus datos en THX_DATA
Necesitalldap
La necesitanboards, bookstack, drive, easyappointments, espocrm, forgejo, freescout, glitchtip, home, listmonk, radicale, snappymail, umami, uptime-kuma, vaultwarden, vikunja
Contenedoresauthelia
Imagen: autheliaauthelia/authelia:4.39.28@sha256:bd97cff4fcbf715b5ff1f9ae286afbe6033afce385302520b0368122d43a6f54
Licencia (según el README)Apache-2.0
Proyecto original (según el README)https://www.authelia.com

Cómo activarla

thx enable agrega authelia y todo lo que necesita al estado de la caja; después thx apply la instala. Las apps se aplican recién cuando site_domain está definido.

sudo thx enable authelia
sudo thx apply

Notas técnicas (pieces/authelia/README.md)

Las notas técnicas de cada pieza están en inglés, tal como están en el repositorio.

Authelia 4.39.28, Apache-2.0. Image authelia/authelia:4.39.28, pinned by index digest sha256:bd97cff4…a6f54; the index has linux/arm64 (docker buildx imagetools inspect, 2026-11-24). Upstream image, unmodified.

How it is wired

  • Users from LLDAP (implementation: lldap, bound as thx-readonly). Password change/reset are disabled here: that is LLDAP's web UI. SQLite storage and the session in THX_DATA / memory; one session cookie for the whole apps domain.
  • Two config files: files/configuration.yml (shipped, the same everywhere) and files/generated.yml (written by thx apply from the enabled pieces):

    • access_control: one_factor for every forward-auth host; default deny.
    • identity_providers.oidc: one client per auth = "oidc" piece, its secret stored as a pbkdf2-sha512 digest (the plain secret is only in that piece's own .env), redirect URIs and scopes from its piece.toml, token_endpoint_auth_method per piece. The RSA key that signs ID tokens is oidc_jwks_key.pem, generated on the box.
    • notifier: SMTP to the mail piece when it is enabled, otherwise the filesystem notifier.
  • Caddy puts forward_auth to authelia:9091/api/authz/forward-auth in front of every auth = "forward" piece and passes only Remote-User, Remote-Groups, Remote-Email, Remote-Name (a client-sent copy is overwritten; tested).

Measured

RAM: measured peak 61 MiB (anon + shmem + kernel from memory.stat, sampled through the whole check.sh docker stage including a 10-client database load; 124 MiB with page cache) × 1.3 = ram_mb 80, mem_limit 80m. Measured 2026-11-25, e2e run 6.

Known gaps

  • Tested on the dev PC: forward auth, first-factor login (right and wrong password), the OIDC code flow with userinfo + ID token claims and a wrong client secret refused. NOT tested: the branch with no forward hosts at all (default_policy: one_factor there), mail notifications through Stalwart, 2FA enrolment.
  • Changing the client list recreates the container (a few seconds of no login).

Los datos de esta página salen de estos archivos del repositorio selfhostwizard:

  • pieces/authelia/piece.toml
  • pieces/authelia/compose.yaml
  • pieces/authelia/README.md
  • internal/piece/piece.go

Esta página se genera desde el código al compilar el sitio, así que cambia cuando cambia el código.