Automated install for Authelia running in a container e.g. on Proxmox
Find a file
2023-03-27 22:23:00 +03:00
Supporting Resources 1st commit 2023-03-24 11:09:44 +01:00
deploy_authelia.sh feat: adapt deploy_authelia.sh for use with ArchLinux 2023-03-27 22:23:00 +03:00
LICENSE Initial commit 2023-03-24 10:50:24 +01:00
README.md added video link 2023-03-27 09:15:10 +02:00

authelia-proxmox-SSO

Automated install for Authelia running in a container e.g. on Proxmox

You can use this repository in order to run an automated installation of Authelia into e.g. a Proxmox Container. If you want to run it in Proxmox, do the following:

  1. Create a privileged container
  2. Give it 2 GB of RAM, 2 Cores, 8 GB of Disk (might be oversized)

The container needs to be privileged because it needs the /dev/random and/or /dev/urandom devices.

In order to install, open a shell on th container and type (as root)

wget https://raw.githubusercontent.com/onemarcfifty/authelia-proxmox-SSO/main/deploy_authelia.sh ; bash ./deploy_authelia.sh

editing the config files

In order to edit the config files, you could use nano or vi. However, editing yaml Files in those editors is quite a challenge because you need to take care of proper indentation etc. Another possibility is to use WinSCP or FileZilla and connect over ssh or sftp to the container, and then edit with your favorite editor (e.g. Visual Studio).

To enable root password login over ssh in order to edit the files type

sed -i s/^\#PermitRootLogin\ prohibit-password$/PermitRootLogin\ yes/ /etc/ssh/sshd_config 
systemctl restart ssh

You can later change this back by typing

sed -i s/^PermitRootLogin\ yes/PermitRootLogin\ prohibit-password/ /etc/ssh/sshd_config 
systemctl restart ssh

Watch the video on YouTube

The necessary changes to the config files and how to implement SSO are outlined in This video. In the video we implement SSO for

  • Nextcloud
  • Proxmox
  • Portainer
  • Gitea

More resources

The Authelia Documentation shows how to integrate OpenID Connect (OIDC) with various software platforms