Connect with us

Hi, what are you looking for?

Docker

Use Authelia to Protect Public Applications

Authelia is an open-source authentication application which can be used for single sign-on and 2FA (two-factor authentication) for applications through a login portal.

Main Features of Authelia

Example of the Authelia Flow

Authelia Flow Chart
Source: Authelia Github

Docker Compose Example

    authelia:
        container_name: authelia
        image: authelia/authelia
        volumes:
          - C:\Docker\authelia\authelia\:/config
        environment:
          - 'TZ=America/New_York'
        networks:
          - default
          - authelia
        ports:
          - 9091:9091
        restart: always

    redis:
        image: redis:alpine
        container_name: redis
        networks:
          - authelia
        volumes:
          - ./redis:/data
        ports:
          - 6379:6379
        restart: always
        environment:
          - TZ=America/New_York

Authelia Setup

Authelia provides different configuration types depending on the required types of authentication and external dependencies. If used in a small scale for public services the Lite bundle should be fine. Take a look at the Authelia Github page for more information.

Authelia Reverse Proxy Setup

I use the LetsEncrypt Nginx Docker container which includes Authelia built in but needs to be enabled. Additional information for troubleshooting can be found on the Proxy Integration page maintained by Authelia.

Summary

Authelia provides additional security to any services or hosted applications which are public facing and might not provide its own login method or where a 2FA is needed. Installation requires no coding to integrate and is done with some basic configuration files and reverse proxy setup which is all covered in the documentation.

Click to comment

Leave a Reply

Your email address will not be published.

You May Also Like

Docker

Setting up NGINX with a free Let’s Encrypt SSL certificate is a breeze using Docker and the container maintained by Linuxserver.io. The default setup...

Plex

Plex updated it’s support of collections at the end of 2017 by letting the user choose to group movies in a collection ie. Star...

Linux

Configure the TP-Link AX50 router so that it can be shared between both Windows and Linux. The router has USB sharing built into the...

Technology

Cloudflare has plenty to offer even to free users. I looked into some methods of improving the TTL or time to first byte as...

Copyright © 2021 Carl Peterson. Theme by MVP Themes, powered by WordPress.