Learn how to set up Traefik v3 as your Docker reverse proxy! This comprehensive guide shows you how to securely expose your Docker services with Let's Encrypt SSL certificates, proper authentication, and best security practices. Perfect for homelab enthusiasts wanting to access their services remotely.
In this tutorial, you'll learn:
• Complete Traefik v3 setup from scratch
• Securing Docker socket with Socket Proxy
• Setting up Let's Encrypt SSL certificates
• Configuring Cloudflare DNS integration
• Adding basic authentication protection
• Understanding routers, middlewares, and services
TIMESTAMPS:
0:00 Intro and Describing the Environment
2:45 Supporting Resources
6:08 Traefik, what you need to know
7:04 Traefik Installation Checklist
7:21 Cloudflare Settings
11:06 Preparation and Checks
20:40 Docker and Traefik Preparation
28:15 Starting Socket Proxy
29:26 Traefik Middlewares, Network, and Secrets
31:26 Traefik Docker Compose
41:06 Additional Traefik Middlewares
43:52 Traefik Staging
48:04 Traefik Production
49:52 Random IP scanning my server
53:10 Traefik Dashboard
54:38 Putting Apps Behind Traefik, Troubleshooting, and Next Steps
55:54 Closing Thoughts
PREREQUISITE GUIDES:
🔗 Docker on Proxmox LXC: https://youtu.be/-ZSQdJ62r-Q
🔗 Ultimate Docker Media Server: https://youtu.be/THuLgGwq0vg
🔗 Mounting Remote SMB with Rclone: https://youtu.be/D-XS0biLP14
RELATED GUIDES:
🔗 Traefik v3 Guide: https://www.simplehomelab.com/traefik-docker-compose-guide-2024/
🔗 Authelia Setup: https://www.simplehomelab.com/authelia-docker-compose-guide-2024/
🔗 OAuth Guide: https://www.simplehomelab.com/google-oauth-traefik-forward-auth-2024/
🔗 Official Docs: https://doc.traefik.io/traefik/getting-started/configuration-overview/
GITHUB RESOURCES:
📜 Docker-Traefik Repository: https://github.com/SimpleHomelab/docker-traefik
RELEVANT PLAYLISTS:
▶️ Ultimate Docker Server: https://www.youtube.com/watch?v=GfzgNJAM19o&list=PL1Hno7tIbSWV-c1E87BqTzPMgfGxM08nf
DEPLOYARR (FORMERLY AUTO-TRAEFIK):
📰 https://www.simplehomelab.com/go/deployarr-ytd/
🎞️ https://youtu.be/OnoKy73b-w4
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
#traefik #docker #reverseproxy #ssl #letsencrypt #cloudflare #homelab #security #networking #devops #selfhosted #tutorial #homeserver #dockercompose