Add Authelia SSO/MFA access service - #52
Open
xrhstosmour wants to merge 2 commits into
Open
Conversation
xrhstosmour
force-pushed
the
feature/authelia-access
branch
from
August 6, 2026 14:24
1563b62 to
372a7ae
Compare
Owner
Author
|
Addressed in 9704366:
Retested end to end: generated file has a real hash, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What:
AutheliaSSO/MFA forward-auth service atsecurity/access/authelia, following the existingdocker-compose.yml+template.envpattern, with aconfiguration/folder (hand-edited likeTraefik's) holdingconfiguration.ymland a placeholderusers_database.yml.postgresqlcontainer and sessions to the sharedrediscontainer via Authelia'sAUTHELIA_*env-var config overrides, instead of bundling its own database.depends_ononpostgresql/redis(separate compose projects); Authelia's image is a minimal static binary without a confirmed shell/nc, so it relies onrestart: unless-stoppedto retry until they're reachable, with a comment explaining why./app/healthcheck.shfor thehealthcheck:block (authelia healthcheckis not a real subcommand on this image, confirmed while testing).Why:
Pre-staging SSO/MFA for a future VPS install.
Testing:
docker compose configvalidates with no errors.postgresql/rediscontainers locally, generated a realbcrypthash for a test user, and confirmedAutheliaconnects to both, runs its storage schema check, and reachesStartup complete/healthystatus.curl localhost:<port>/api/healthreturns{"status":"OK"}, and the login UI returns200.databases/postgresql's currentconfiguration/postgresql.confdoesn't setlisten_addresses, so Postgres only listens onlocalhostinside its container and refuses connections from other containers on the sharedinternalnetwork (reproduced directly withncfrom an unrelated container). Worked around this locally only to verify Authelia's wiring, then reverted the tweak, since fixing the shared Postgres config is out of scope here, flagging it to the maintainer separately since it likely also affects the existingGlitchTip/Metabase/pgAdmin4cross-project connections.docker compose down -vcleans up with no leftover state.