Set Up Authelia 2FA for Your Docker Services - Complete Guide
Learn how to protect your Docker services with enterprise-grade security! This guide shows you how to set up Authelia for multi-factor authentication, complete with hardware key support, password reset, and fine-grained access control. Perfect for homelab enthusiasts wanting robust security for their exposed services. In this tutorial, you'll learn: • Complete Authelia setup with Docker Compose • Configuring multi-factor authentication • Setting up access control rules • Managing users and device registration • Integrating with Traefik reverse proxy • Advanced features like Redis and MariaDB 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 PREREQUISITE VIDEOS: ▶️ Traefik v3 Setup: https://youtu.be/KMZIyoZ3jWM ▶️ Traefik Middlewares: https://youtu.be/cUZ6kkum1pc ▶️ Docker Apps Behind Traefik: https://youtu.be/6S9PwhAlZUs RELATED GUIDES: 🔗 Ultimate Docker Media Server: https://www.simplehomelab.com/udms-01-introduction-and-overview/ 🔗 Authelia Setup: https://www.simplehomelab.com/udms-19-authelia-docker-compose/ 🔗 OAuth Guide: https://www.simplehomelab.com/udms-20-google-oauth-docker-compose/ GITHUB RESOURCES: 📜 Docker-Traefik Repository: https://github.com/SimpleHomelab/Docker-Traefik 📜 Deployrr Repository: https://github.com/SimpleHomelab/Deployrr RELEVANT PLAYLISTS: ▶️ Ultimate Docker Server: https://www.youtube.com/watch?v=GfzgNJAM19o&list=PL1Hno7tIbSWV-c1E87BqTzPMgfGxM08nf ▶️ Demystifying Traefik v3: https://www.youtube.com/playlist?list=PL1Hno7tIbSWUGrZSqeB9aCsdAuoeVwvgh DEPLOYRR (FORMERLY AUTO-TRAEFIK): 📰 Official Website: https://www.deployrr.app 📺 Quick Intro (20 min): https://youtu.be/OnoKy73b-w4 📺 Detailed Guide (2.5 hours): https://youtu.be/VMRqO2spJZg MY PROXMOX HOST: 🖥️ Topton V700 Intel i7-13800H Mini PC with 64 GB RAM: https://www.simplehomelab.com/go/topton-v700-yt (Affiliate Link) 🔗 Best Mini PC for Proxmox: https://www.simplehomelab.com/best-mini-pc-for-proxmox-2024/ SUPPORT MY WORK: 💝 https://www.simplehomelab.com/go/memberships-ytd/ ☕ https://buymeacoffee.com/simplehomelab 🎁 https://ko-fi.com/simplehomelab JOIN THE COMMUNITY: 🤝 https://www.simplehomelab.com/go/discord-ytd/ 🏠 https://www.simplehomelab.com/ FOLLOW US ON SOCIAL Get updates or reach out to Get updates on our Social Media Profiles! 🐦 Twitter: https://twitter.com/simplehomelab 📘 Facebook: https://facebook.com/simplehomelab 📸 Instagram: https://www.instagram.com/simplehomelab #authelia #security #2fa #mfa #docker #traefik #homelab #authentication #selfhosted #devops #tutorial #homeserver #yubikey #oauth
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.