Master Traefik 3 in 60 min: Best Docker Reverse Proxy

  Рет қаралды 8,893

SmartHomeBeginner

SmartHomeBeginner

Күн бұрын

Traefik proxy is the best dynamic reverse proxy for both Docker and Docker services. Essentially, it allows you to expose your services securely with a proper Let's Encrypt SSL certificate.
This 1-hour Traefik 3 master tutorial would guide you through the full process of setting up Traefik using Docker Compose and make the Traefik dashboard available on a fully qualified domain name with proper SSL certificates.
This will help you set up a strong foundation to secure everything with SSL.
#traefik #reverseproxy #letsencrypt #cloudflare #homelab #homeserver #docker #dockercompose #dockertutorial
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
RELEVANT LINKS (in the order of appearance):
🔗 Docker on Proxmox Unprivileged LXC: • Docker on Proxmox LXC ...
🔗 Mounting Remote SMB Shares using Rclone: • Rclone SMB Mount on Ub...
🔗 Ultimate Docker Media Server: • Ultimate Docker Server...
🔗 Docker Traefik Guide: www.smarthomebeginner.com/tra...
🔗 www.smarthomebeginner.com/aut...
🔗 www.smarthomebeginner.com/goo...
🔗 doc.traefik.io/traefik/gettin...
ULTIMATE DOCKER SERVER SERIES:
Playlist: • Mini Homelab Tour - I ...
AUTO-TRAEFIK:
📰 www.smarthomebeginner.com/go/...
🎞️ • Auto Traefik 2 - Docke...
GITHUB REPOSITORIES:
📜 github.com/htpcbeginner/docke...
MY PROXMOX HOST:
🖥️ Topton V700 Intel i7-13800H Mini PC with 64 GB RAM: www.smarthomebeginner.com/go/... (Affiliate Link)
SUPPORT MY WORK:
🤝 www.smarthomebeginner.com/go/...
JOIN THE COMMUNITY:
👋 www.smarthomebeginner.com/go/...
🌐 www.smarthomebeginner.com/
FOLLOW US ON SOCIAL
Get updates or reach out to Get updates on our Social Media Profiles!
👥 Twitter: / anandslab
👥 Facebook: / anandslab
👥 Instagram: / smarthomebeginr
MARKETING PARTNER: www.intisarmediaandmarketing....

Пікірлер: 30
@AnandsLab
@AnandsLab Ай бұрын
POST PUBLICATION NOTES: * Traefik is a huge subject. Can't cover everything. But this should get you started.
@hanley-development
@hanley-development Ай бұрын
Fantastic!🎉
@jaffo73
@jaffo73 Ай бұрын
Thanks! Great Video and Great Guides.
@AnandsLab
@AnandsLab Ай бұрын
Thanks man. I appreciate it. Good catch there on the picture.
@azizmetchonou
@azizmetchonou Ай бұрын
A master piece man thank you
@AnandsLab
@AnandsLab Ай бұрын
Thank you. It feels good to get it out. I recorded once and spent nearly 30 hours on it last year but did not publish. This time I recorded it 3 times to get through it without hiccups, crashes, etc. Phew!
@hanley-development
@hanley-development Ай бұрын
Traefk in an lxc took me an hour... Finding out authentik doesn't work very well in a lxc... 5 hours. Had to go back to a VM.
@AnandsLab
@AnandsLab Ай бұрын
Really? Authentik doesn't work very well in a LXC? first time hearing this. I spent over 5 years trying to get authentik to work (docker on LXC) and then gave up just a few days back.
@johnbenbow2450
@johnbenbow2450 Ай бұрын
Hi, how would I modify the traefik config to use duckDNS opposed to cloudflare?
@AnandsLab
@AnandsLab Ай бұрын
That is quite difficult to say in just a few words. I will try to create a separate video on it.
@oliverdachroth8892
@oliverdachroth8892 22 күн бұрын
Can i use this After September 2024? I mean Cloudflare with Lets Encrypt for free? Or whats the alternatives. The cloudflare Advanced certificate Manager isn‘t for free.
@AnandsLab
@AnandsLab 17 күн бұрын
The September CF change has nothing to do with Traefik. So it should work.
@marcinszczesny6329
@marcinszczesny6329 Ай бұрын
Can You do tutorial for authentik + SSO for Home assistant / CalibreWeb etc ?
@AnandsLab
@AnandsLab Ай бұрын
I would love to. But before that I will be covering Authelia and Google Oauth. I tried authentic but had some issues. Someone commented that it does not work in Proxmox LXC. I need to investigate that.
@JandelIsidro
@JandelIsidro 28 күн бұрын
What if I dont have a domain registered in cloudflare?
@AnandsLab
@AnandsLab 23 күн бұрын
Traefik supports various providers. Even if you registered your domain with another registrar, most of them still allow you to use Cloudflare as the DNS. That is all you will have to do.
@umeshkhatiwada4924
@umeshkhatiwada4924 20 күн бұрын
does mysql work on treafik
@AnandsLab
@AnandsLab 17 күн бұрын
Can you elaborate? You want to expose Mysql via traefik? using port 443 instead of 3306? I haven't tried that one. Not sure if it is possible. but I think it might be risky to expose mysql openly.
@Popcorncandy09
@Popcorncandy09 Ай бұрын
I had to move away from your traefik script since using traefik to expose Synology DSM for my family to download from it always times out and fails the downloads around the 1GB mark. Nginx Proxy Manager works fine with the same config...so something wrong with Traefik.
@AnandsLab
@AnandsLab Ай бұрын
That is an interesting finding. I have no experience or have not tried that yet.
@Popcorncandy09
@Popcorncandy09 Ай бұрын
@@AnandsLab it doesn’t seem to handle people with slow internet and must reach a timeout on the entry point or something. Nothing I tried could fix it.
@shawnbush8629
@shawnbush8629 4 күн бұрын
its not something you want to rely on. I use NPM, and have issues as I didn't understand it, but in time I'll have it figured out. I haven't got the script to do much for me. I can't get it to auctually install traefik yet ;P lol
@AnandsLab
@AnandsLab 4 күн бұрын
Traefik is excellent and much more powerful than NPM. The day you understand it, you will realize its full potential.
@AnandsLab
@AnandsLab 4 күн бұрын
I do not know if this is has anything do with Traefik though. Have you tried without Traefik (say quickconnect) and were able to handle big files?
@shawnbush8629
@shawnbush8629 4 күн бұрын
I think traefik has too many issues to make it useable, I can't get it to foreward a single port. lol The automation is killing it. in a enviroment that is clean and has domains that never used a cert or anything it may just work, but if anything isn't perfect the whole thing crashes... Thats not going to work in a production enviroment.
@AnandsLab
@AnandsLab 4 күн бұрын
If you take the time to understand Traefik like you did for NPM, you will have a different opinion. My website, smarthomebeginner.com has been working on Traefik for 4 years and serving 1000s of pages every day. I think that would qualify as a Production environment.
Boost Performance and Security with Traefik Middlewares and Chains
19:48
Traefik 3 and FREE Wildcard Certificates with Docker
39:37
Techno Tim
Рет қаралды 81 М.
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 5 МЛН
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 133 МЛН
No more Cloudflare Tunnels for me...
11:56
Raid Owl
Рет қаралды 40 М.
Docker on Proxmox LXC 🚀 Zero Bloat and Pure Performance!
20:53
SmartHomeBeginner
Рет қаралды 33 М.
Run CasaOS on Proxmox: Easy LXC Container Install Guide
10:06
JC Laforge Tech
Рет қаралды 2,9 М.
Don’t run Proxmox without these settings!
25:45
Christian Lempa
Рет қаралды 131 М.
Homelab Setup Guide - Proxmox / TrueNAS / Docker Services
2:44:39
Matthias Benaets
Рет қаралды 132 М.
Ultimate Docker Server in just 52 min: Using Docker Compose
52:10
SmartHomeBeginner
Рет қаралды 6 М.
Massive Botnet Attacking Synology - how to protect your NAS
24:42
Traefik vs. Nginx performance benchmark
12:38
Anton Putra
Рет қаралды 37 М.
Deployarr 4: Docker Homelab in Minutes🚀 (60+ Apps)
9:41
SmartHomeBeginner
Рет қаралды 7 М.
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 4,7 МЛН
Samsung Galaxy Unpacked July 2024: Official Replay
1:8:53
Samsung
Рет қаралды 22 МЛН
Первый обзор Galaxy Z Fold 6
12:23
Rozetked
Рет қаралды 313 М.
После ввода кода - протирайте панель
0:18
Up Your Brains
Рет қаралды 1,2 МЛН