Docker Store: Authelia authentication portal
Install the Authelia single sign-on portal from the Artica Docker Store and manage its users, access rules and notifications from the Artica console.
Artica for Docker Edition > Authelia
Put a single sign-on portal with two-factor authentication in front of your sites.
Artica installs the Authelia portal in a single form: secrets, first account, access policy and hardening are done for you.
Users, access rules and notifications are then managed from the Artica console, without editing a YAML file.
No port of the appliance is opened: the Artica reverse-proxy is the only way in.

What Authelia brings
Authelia is an open-source authentication portal.
Users sign in once on the portal, with a password and, if you require it, a second factor.
A web server placed in front of an application asks Authelia whether each request may pass, according to your access rules.
Advantages
- One form, a working portal.
You type the protected domain, the portal address, the default policy and the first account.
Artica writes the configuration, the stack and the secrets, then starts the portal. - Secrets you never handle.
The session, password-reset and storage keys are generated on the appliance and stored encrypted.
They are never shown, not even to the administrator. - Passwords stored as hashes only.
Every account password is stored as an Argon2id hash. - Management from the console.
The Manage window lists the users, the access rules, the settings and the notifications.
Each change is applied as a new revision of the stack, which you can roll back. - Deny by default.
The default policy proposed is Deny: a request that no rule allows is refused. - Hardened containers.
Authelia runs as an unprivileged user with a read-only root file system and every Linux capability dropped.
nginx serves the portal on a Unix socket of the appliance.
Use cases
- Prepare single sign-on for a domain.
Install the portal forexample.com, create the accounts and the rules, and check the login on the portal address. - Two-factor authentication for administrators.
Requiretwo_factoron the domains of your administration tools andone_factorelsewhere. - Separate access by group.
Allow theadminsgroup on the management sites and other groups on the business sites. - Open some paths without login.
Abypassrule lets a health check or a public page through without authentication.
Artica installs and manages the portal.
It does not attach the reverse-proxy sites to Authelia yet: protecting a site withauth_requestis planned for a later release.
Before you start
- Choose the portal address.
The portal must be reached in HTTPS, for examplehttps://auth.example.com.
No certificate is created by the installation: assign the certificate of the portal address to its site in the reverse-proxy. - Choose how the portal is reached.
When the Artica reverse-proxy runs on this appliance, the installer creates its site and points it at the portal socket.
Otherwise, the Docker Relay agent hands the portal to a remote reverse-proxy as a backend: attach that backend to the portal site there. - Privileges.
The account needs the Docker privileges Deploy new stacks and Change the secrets of stacks.
Through Docker Relay, it also needs Modify and update stacks.
Install Authelia
- Open Docker > Docker Store.
- On the Authelia tile, click Install.
- Fill in the form.
- Click Installation.

| Field | What to enter |
|---|---|
| Protected domain | The domain whose sites the portal protects, for example example.com. It cannot be changed later. |
| Portal address | The HTTPS address of the login page, for example https://auth.example.com. It cannot be changed later. |
| Default policy | Applies to every request that no access rule matches. Deny is the safest choice. |
| First account | Login (lower case, digits, dot, dash and underscore, 32 characters at most), display name, e-mail address and password (12 to 256 characters). The account is placed in the admins group. |
| Notifications | Notification file (tests) keeps the messages on the appliance. For real use, choose a mail server and give its port, username, password and sender address. |
The stack is named authelia: one portal per appliance.
Manage the portal
On the Authelia tile, click Manage.
Users
Add a user, change a password, disable or delete an account.
A password a user resets from the portal is kept.

Access rules
Rules are checked in order and the first one that matches decides.
Each rule names domains, a policy (bypass, one_factor, two_factor or deny), and optionally users, groups and source networks.
Edit the list, then click Save: Authelia restarts with a new revision of its stack.

Settings and notifications
The Settings tab shows the protected domain, the portal address and the way the portal is reached.
The domain and the portal address are fixed: cookies, certificates and the reverse-proxy site depend on them.
You can switch the notifications between the notification file and a mail server there.

With the notification file, the Notifications tab shows the messages Authelia would have sent, such as one-time codes and password-reset links.
Use it for tests only.
Troubleshooting
| Symptom | Cause and fix |
|---|---|
| The portal refuses to open or the session is lost at once. | Authelia only works over HTTPS. Publish the portal site in HTTPS so that the reverse-proxy sends X-Forwarded-Proto: https. |
| The installation says data is left from an earlier portal. | A kept authelia_config volume still holds the old users and database. Remove it from Docker > Volumes to start again. |
| No password-reset e-mail arrives. | The notifications use the notification file. Choose a mail server in the Settings tab, or read the message in the Notifications tab. |