Ultimate Security with Authelia and Docker Compose
Authelia is probably the best self-hosted and self-contained multifactor authentication layer for your Docker stack. Combined with Traefik, it can protect all your Docker and non-docker services.
With hardware key support, password reset, fine-grained access control, etc., it is a trustworthy security companion for your homelab.
In this video, we will see how to setup Authelia to your Docker environment using Docker Compose. We will also put some Docker and non-Docker apps behind Authelia, using Traefik Reverse Proxy.
#traefik #reverseproxy #authelia #oauth #homelab #homeserver #docker #dockercompose #dockertutorial
TIMESTAMPS
0:00 Introduction
1:48 Describing the Environment / Recapping Current Setup
2:50 Authelia and Alternatives
4:53 Authelia Setup
5:31 Authelia Folder
7:04 Authelia Configuration File
12:30 Authelia Secrets
16:21 Users
20:11 Authelia Traefik Middlewares and Chains
23:21 Authelia Docker compose
26:17 Starting and Registering Device
28:59 Adding Authelia to Services
31:01 External Apps Behind Authelia
33:47 Authelia Enhancements: Redis, MariaDB, SMTP, and Duo
35:57 Closing Thoughts
VIDEO PLAYLISTS:
▶️ Ultimate Docker Server: https://www.youtube.com/watch?v=GfzgNJAM19o&list=PL1Hno7tIbSWV-c1E87BqTzPMgfGxM08nf
▶️ Demystifying Traefik v3: https://www.youtube.com/playlist?list=PL1Hno7tIbSWUGrZSqeB9aCsdAuoeVwvgh
RELEVANT LINKS:
🔗 https://www.smarthomebeginner.com/authelia-docker-compose-guide-2024/
🔗 https://www.smarthomebeginner.com/docker-media-server-2024/
🔗 Docker Traefik Guide: https://www.smarthomebeginner.com/traefik-docker-compose-guide-2024/
🔗 https://www.smarthomebeginner.com/google-oauth-traefik-forward-auth-2024/
DEPLOYARR:
📰 https://www.smarthomebeginner.com/go/auto-traefik-ytd/
▶️ 10 min Intro: https://youtu.be/MTjpUXQiHfk
🎞️ https://www.youtube.com/playlist?list=PL1Hno7tIbSWViTyCXl9xNdXXU-1bVxIFD
GITHUB REPOSITORIES:
📜 https://github.com/anandslab/docker-traefik
📜 https://github.com/anandslab/deployarr
MY PROXMOX HOST:
🖥️ Topton V700 Intel i7-13800H Mini PC with 64 GB RAM from AliExpress: https://s.click.aliexpress.com/e/_omTh92M (up to 80 USD off)
SUPPORT MY WORK:
🤝 https://www.smarthomebeginner.com/go/memberships-ytd/
JOIN THE COMMUNITY:
👋 https://www.smarthomebeginner.com/go/discord-ytd/
🌐 https://www.smarthomebeginner.com/
FOLLOW US ON SOCIAL
Get updates or reach out to Get updates on our Social Media Profiles!
👥 Twitter: https://twitter.com/anandslab
👥 Facebook: https://facebook.com/anandslab
👥 Instagram: https://www.instagram.com/anandslab_official
by SmartHomeBeginner
linux smtp server
this is a fantastic guide! thank you for putting this together, are you able to do a future video about putting all your services on a tailnet using tailscale, traefik, and your custom domain with SSL enabled?
I appreciate you taking the time to make the video to pair with the documentation. I got stuck a few times, and this helps me go back and address the steps I might've missed.