Unraid
Last updated
Was this helpful?
Last updated
Was this helpful?
Authelia / Sycotix's Repository / Security
Reverse-Proxy such as or
File editors such as Notepad++ or
Domain with the following subdomains
NOTE: You may change these but keep in mind you must adapt it throughout the guide. (app.example.com is simply any app you want to protect with Authelia, i.e. sonarr.example.com).
example.com
auth.example.com
app.example.com
We strongly suggest using Code-Server to help you edit your configuration files and validate everything is correctly formatted.
YAML is extremely sensitive, and Code-Server, along with the YAML plugin, can be extremely helpful to save a lot of time troubleshooting. (Trust us, we've been helping members with Authelia for over a year!)
You can follow our guide .
In Unraid, visit the apps tab
It has parameters mapped for a password, which we will need to add into configuration.yml later.
In the template installation screen:
Set a strong password (it will be used by Authelia later)
Add the appdata path as per the below
IMPORTANT
The default template does not have a mapping for the appdata storage. Without this, Redis will not be able to cache your data and the 'Remember Me' option in Authelia will not work.
In the template, click "Add another Path, Port, Variable, Label or Device" and add the following path:
Container Path: /bitnami/
Host Path: /mnt/user/appdata/redis/bitnami/
IMPORTANT
Change the permissions of the redis folder with the following command executed in the webterminal: chmod -R 777 /mnt/user/appdata/redis/*
If you do not already have MariaDB installed, then follow the next 3 steps. If you already have MariaDB installed then skip to the next section where you will create the database for Authelia.
In Unraid, visit the apps tab
Search for and install 'mariadb'. We are using the linuxserver/mariadb container.
In the template installation screen:
Set a strong password
Once installed, follow these steps to create our user and database for Authelia.
If you want to use the command-line to create the database then please do the following:
Under the Docker tab in Unraid, left-click the MariaDB container, select Console
Create our user:
Enter the following then hit enter:
Enter the password you set in the container settings then type:
This password will be referenced in the Authelia configuration.yml
Create our database:
Enter the following then hit enter:
Allow privileges to the database:
Enter the following then hit enter:
This is the password you created for the user above.
Enter the following then hit enter:
You can now close the terminal window
Head to the Community Applications store in Unraid
Search for and click to install Authelia
from Sycotix's Repository
Enter the host port you want to map for the WebUI. By default it is 9091
. Only change it if this port is already in use.
Click Apply and wait for the container to pull down and start.
NOTE
The container will immediately shut down due to no configuration. This is normal and you can leave it off for now.
Search for and install 'redis'. We are using the container from A75G's Repository
which uses the image.
Set the
Set the
If you want a GUI option to create, manage and administer databases, we recommend using Adminer. You can find our guide on that .
Follow our to use a GUI to help you manage databases in an easy way.
If you are using a , select it in the 'Network Type' field.