Expose Your Docker Containers With Traefik

  Рет қаралды 29,029

Techdox

Techdox

Күн бұрын

Пікірлер: 46
@Techdox
@Techdox 7 ай бұрын
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/Techdox . You’ll also get 20% off an annual premium subscription
@cursoderobotica
@cursoderobotica 7 ай бұрын
Thank you for the video!! I am a fan of Traefik!! I love it!! Cheers!!
@janhenkins
@janhenkins Ай бұрын
Hi mate! Thanks for this, brilliant video! I needed the traefik refresh in your simplified manner, watching all the other "simple" videos just got me climbing "Mount MEH" and dropping the subject altogether. Now I have a reasonable hope of actually getting it up and running! 😀
@cyberjohn44
@cyberjohn44 7 ай бұрын
Can Traefik be used with non-docker setups? IE: standalone setup
@Techdox
@Techdox 7 ай бұрын
Just has a quick read and you can, there’s a few examples online but nothing straight forward it seems. I might add it to my documentation if I get some time
@Knightfall23
@Knightfall23 7 ай бұрын
Yes you can create static config files pointing to your services.
@nushankodikara
@nushankodikara 5 ай бұрын
You can create a dynamic config and in the service section attach the ip port configuration
@enissay9950
@enissay9950 3 ай бұрын
Nice tutorial, BUT, you skipped showing how to access the Traefik ui safely ?
@adekojoadeyemi2596
@adekojoadeyemi2596 2 ай бұрын
Ii can't wait for you to do this video
@Techdox
@Techdox Ай бұрын
The Traefik UI is mainly to get a visual view of what you have configured. The UI should never be exposed externally and if you want it to be look up my Cloudflare tunnel videos
@yutee_okon
@yutee_okon 7 күн бұрын
How does traffic fare with path based routing?
@William0271
@William0271 7 ай бұрын
Thank you, this is so much more helpful than Mistral and ChatGPT were. I had almost given up
@simuman
@simuman 7 ай бұрын
Great video Techdox. I followed through with your steps which was great with the label explanation, but I'm still a bit confused. My scenario is have Traefik reverse-proxy Plex with TLS so can I authenticate on the pass-through to the server, not even sure this if is possible or if I'm just making it to convoluted, any advice would be greatly appreciated.
@Techdox
@Techdox 7 ай бұрын
Yeah can be done, but I’m still learning all the features of Traefik as well, so feel free to jump into the discord and we can try sort it together
@neoflix59
@neoflix59 7 ай бұрын
Genuinely curious. Why use traefik instead of cloudflare tunnel. Also how safe is opening them ports. Is that opening of ports giving more surface area for attacks
@Techdox
@Techdox 7 ай бұрын
Few reasons, Cloudflare tunnels HTTPS ends on the Cloudflare side, so they can see your traffic. Traefik on the otherhand is managed by you and uses Lets Encrypt SSL for all HTTPS traffic and you have total control of this. Using Traefik and opening the ports to your specific device is opening your network up to the web but following security best practices, keeping routers and servers up to date you will be find.
@neoflix59
@neoflix59 7 ай бұрын
@@Techdox I really appreciate your reply. I had both cloudflare and traefik setup, but took fear on opening ports up. So I just needed a better answer in my head as to my concerns. Thank you
@Techdox
@Techdox 7 ай бұрын
@@neoflix59 it’s great to question these things, don’t just do things because someone on the interest said so haha. Good stuff
@AlexWinkler
@AlexWinkler 3 ай бұрын
Why use ngnix if you have traefik?
@YusefBenarieb
@YusefBenarieb 2 ай бұрын
In this video nginx just provides a test web page behind traefik.
@rekarpcpro
@rekarpcpro 4 ай бұрын
Should you use an email from your domain (elitron in your example) instead of gmail?
@fbifido2
@fbifido2 6 ай бұрын
what if you gave a docker compose file that have multiple web-ports, like 8080, 9000, 80, 443, 8000, 6040 ???
@fbifido2
@fbifido2 6 ай бұрын
would it not be easier to use nginx proxy manager ????
@its_skygod
@its_skygod 5 ай бұрын
Hi, could you kindly share repo?, I wanted to understand the folder structure.
@Techdox
@Techdox 5 ай бұрын
Their repo? Sure - github.com/traefik/traefik
@beerreeb123
@beerreeb123 6 ай бұрын
I run in an isolated network where I still want certs. I manage my certs with a PFSENSE. I will not use let’s encrypt. It would be great to see a demonstration on how to do that. Does traefik make money from lets encrypt somehow?
@Techdox
@Techdox 6 ай бұрын
They don’t make money. It’s more Let’s encrypt is like the go to service for home labs etc
@LazyProductionzzzzz
@LazyProductionzzzzz 23 күн бұрын
is it possible to do this without cloudlfare, 100% local ?
@Techdox
@Techdox 20 күн бұрын
It is, yeah
@MrAkhilnaidu
@MrAkhilnaidu 5 ай бұрын
I was looking for a good video of which I can share to my team. And among many thing seems promising. Also, It would have been nice, if you use a single docker-compose file and a bit more elaboration on wildcard certificates. Adding those might make this a very good video for an introduction of Traefik to fullstack developers.
@yannicksans7141
@yannicksans7141 5 ай бұрын
Brilliant, thank you ! Do you think doing another tuto including authentik ?
@Techdox
@Techdox 5 ай бұрын
Like Traefik and authentik? I do already have an authentik video
@bassam.2023
@bassam.2023 4 ай бұрын
Spending my free time watching this channel these days! 😁 Is it fair to say that Traefik is on the same continuum as nginx proxy manager?
@Techdox
@Techdox 4 ай бұрын
@@bassam.2023 yeah that’s right, both are reverse proxies :) I honestly like NPM for the ease of config
@YarikMd
@YarikMd 3 ай бұрын
Thanks for the video! Good explanation!
@bayarea757
@bayarea757 6 ай бұрын
Great video and explanation. Straight to the point. Thanks
@cholasimmons
@cholasimmons 3 ай бұрын
what about having 2 installations of traefik on the same server?
@Techdox
@Techdox 3 ай бұрын
@@cholasimmons for what purpose?
@fbifido2
@fbifido2 6 ай бұрын
what about dockers that create their own multiple docker-networks ????
@RiffyDevine
@RiffyDevine 7 ай бұрын
Why are you using this with nginx over just using nginx or caddy. What I mean is you are using a reverse proxy to a reverse proxy, or was it done as just a simple example.
@Techdox
@Techdox 7 ай бұрын
Was just using an Nginx web server as an example, since it’s lightweight and simple to setup test websites to showcase
@charleswhite3553
@charleswhite3553 7 ай бұрын
It’s basically a router ?
@Techdox
@Techdox 7 ай бұрын
It's a reverse proxy, so it's more managing the traffic and flow for your microservices such as Docker and Kubernetes. Here's a bit of a breakdown A traditional router acts like a postal worker, directing letters (data packets) to their destination addresses across the internet. It's a key piece of your home or office network that helps connect your devices to the internet and each other, making decisions on where data should go on a larger, network-to-network level. A reverse proxy, like Traefik, is more like a receptionist at a big office. When someone comes in asking for a specific department or person, the receptionist directs them where to go within the building. The visitors don't need to know the office layout or where everyone sits; they just need to know they can get to the right place by asking the receptionist. In the digital world, Traefik receives requests from the internet and then decides which server within your network should handle them, often based on the content of the request or the requested URL. It's especially useful for managing traffic to multiple servers, ensuring requests are efficiently and securely handled. So, while both routers and reverse proxies deal with directing traffic, routers operate on a broader, network-wide scale, and reverse proxies specialize in managing web traffic to and from specific servers within a network.
@Sapious1
@Sapious1 7 ай бұрын
@@Techdox as a reverse proxy does this offer anything more substantial then NGINX PM does? NPM is very easy to use and setup.
@Techdox
@Techdox 7 ай бұрын
@@Sapious1 Traefik, as a reverse proxy, offers several features that distinguish it from NGINX Proxy Manager, particularly in environments with dynamic service discovery and automatic configuration. It's great in handling microservices architectures, with seamless integration into systems like Kubernetes and Docker, enabling it to automatically detect and route traffic to new services without manual configuration. Additionally, Traefik provides built-in Let's Encrypt support for automatic SSL certificate management and a user-friendly dashboard for real-time monitoring and configuration. These features make it especially suitable for more complex, scalable environments compared to NPM, which is more static but user-friendly for simpler setups.
How My Synology NAS Powers My Home Lab
13:08
Techdox
Рет қаралды 3,1 М.
Do This Before Self-Hosting: Understand What You're Doing
13:11
Чистка воды совком от денег
00:32
FD Vasya
Рет қаралды 4 МЛН
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 104 МЛН
The Ultimate Sausage Prank! Watch Their Reactions 😂🌭 #Unexpected
00:17
La La Life Shorts
Рет қаралды 9 МЛН
Is this the BEST Reverse Proxy for Docker? // Traefik Tutorial
21:57
Christian Lempa
Рет қаралды 533 М.
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 402 М.
So einfach ist Docker
16:14
c't 3003
Рет қаралды 162 М.
Simple HTTPs for Docker! // Traefik Tutorial (updated)
38:06
Christian Lempa
Рет қаралды 45 М.
Traefik 3 and FREE Wildcard Certificates with Docker
39:37
Techno Tim
Рет қаралды 147 М.
Чистка воды совком от денег
00:32
FD Vasya
Рет қаралды 4 МЛН