Тёмный

Manage multiple sites with Docker Compose and Traefik 

Andrew Schmelyun
Подписаться 37 тыс.
Просмотров 48 тыс.
50% 1

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 54   
@aschmelyun
@aschmelyun 2 года назад
You can find the source code for the video as well as some more info on this GitHub repo: github.com/aschmelyun/docker-compose-traefik
@ltayn
@ltayn Год назад
can you do a tutorial on laravel 9 vite docker vue3? when i am trying to get this working it is going insanely slow. Note i am using wsl.
@aasthagupta2165
@aasthagupta2165 Год назад
thanku so much
@stevecampbell8697
@stevecampbell8697 11 месяцев назад
This is the easiest to understand guide on setting up Traefik with an app that I've found. Thanks!
@aschmelyun
@aschmelyun 10 месяцев назад
I'm glad you liked it! Appreciate the kind words.
@Patrick-et2bq
@Patrick-et2bq 29 дней назад
Great video, thank you so much. I have been putting off looking into reverse proxies for a while because I was afraid it would be a daunting task; this made it very approachable.
@achaabni
@achaabni 21 день назад
bravo you are the useful Traefik youtuber after watching plenty of cases but they introduce another project or external tool
@mihajlom1k1
@mihajlom1k1 Год назад
Very helpful tutorial for using traefik locally, thanks a lot!
@xe3333
@xe3333 2 года назад
Just in time . Thanks 🙌
@Henry-vr6zr
@Henry-vr6zr Год назад
Best explanation yet! Thanks so much.
@aschmelyun
@aschmelyun Год назад
Glad it was helpful!
@Henry-vr6zr
@Henry-vr6zr Год назад
@@aschmelyun One question, however - if I had a NextJS 13 application with a node.js (Express) Backend - and they were both proxied under e.g. Traefik or Nginx so that to get to the site the url would just be e.g. "localhost" and to make requests to the (proxied) backend it'd be "localhost/api" (the same port as the site) - how would I fetch data inside of my app if the RSC is fetching the data server-side so won't be able to make the request through the proxied API? If that makes sense 😅 TL;DR - how in my Next app can I fetch data from my proxied backend both in client components (that can only access the API through the proxy) and also in server components (that can only access the API in the internal Docker network, not through the proxy)?
@viniciusalvess
@viniciusalvess 4 месяца назад
Thank you Andrew, this is a very valuable video!
@durgeshkshirsagar116
@durgeshkshirsagar116 2 месяца назад
Could you please create a video on setting ssl for traefik. Thank you for simple and clear video 🎉🎉
@ruslanvoroshchukowlookitlt245
Hi Andrew, thanks for continuing the sharing a very actual stuff. Could you please guide me on how to set up Traefik correctly to get access to the services from other devices on my local network? The use case is when we need to test the localhost on a native mobile / tablet OS. Thank you!
@wushutebessa
@wushutebessa 2 года назад
I think I prefer ngnix proxy manager
@pieterrossouw8596
@pieterrossouw8596 Год назад
Nginx seems to be faster (lower resource utilization or higher traffic before dropping requests). Passing in that docker socket as a volume also greatly increases the severity of exploitation if your version of the container becomes vulnerable. That said, nginx configuration files can be finicky so tomato potato. I'll just use both.
@Osys91
@Osys91 Год назад
Don't forget that traefik gives the ability to get an SSL cert out of the box when the container goes up.
@alifallahrn
@alifallahrn 2 года назад
Thanks! It was very helpful! ❤
@vitusyu9583
@vitusyu9583 3 месяца назад
But seems you have missed out the part of the DNS resolution required to enable the browser to resolve the URL. or, I have missed something you did mention? Thx!
@kinvain
@kinvain Год назад
Is it important to keep different "ports" section in application service? Or it could be changed to the same ports "80:80" for instance?
@huriorko
@huriorko 2 года назад
Thanks for doing that!!
@VitorJustin
@VitorJustin 2 года назад
Great video! Tks
@KaMZaTa
@KaMZaTa Год назад
Let's say I have 1 stack with 2 containers and another stack with 1 container. How can I isolate the stacks behind Traefik?
@davbaster
@davbaster Год назад
Thanks for the tutorial
@atiqbaqi
@atiqbaqi Год назад
very helpful video.
2 года назад
Awesome!
@saragasmichalis2177
@saragasmichalis2177 Год назад
Super useful!!
@cholasimmons
@cholasimmons Месяц назад
i had this working perfectly til i decided to add 2 domains under the same server, i installed a second Traefik and now both have stopped working,
@memack101
@memack101 2 года назад
Thanks.
@principe.borodin
@principe.borodin Год назад
awesome. wonderful.
@mickvanbreukelen7445
@mickvanbreukelen7445 2 месяца назад
Do you need to run 'a traefik' per stack? What if I want to run multiple services, from multiple stacks. Can that work with only running Traefik once?
@kodedart2311
@kodedart2311 6 дней назад
Run one instance of traefik. Then in each of your projects (i.e. dockerized apps) enable traefik, for each service (app). Note that your containers must run in the same network as traefik. So basically the same as in the video, without the "traefik" service.
@topalek
@topalek 2 года назад
awesome
@inteliconn995
@inteliconn995 Год назад
Thanks!
@chris.dillon
@chris.dillon 11 месяцев назад
So, instead of like a vite dev server proxy for dev? Hmm.
@RuelLuna
@RuelLuna 2 года назад
how to use this on laravel sail?
@aschmelyun
@aschmelyun 2 года назад
You'll have to make changes to the docker-compose.yml file that Sail generates. I'm writing up a blog article about how exactly to do this, so keep an eye out for it!
@waqaszafar9559
@waqaszafar9559 2 года назад
good stuff.. when we are gonna see some kubernetes stuff videos on this channel.
@aschmelyun
@aschmelyun 2 года назад
As soon as I take some time to learn more about it, there's a lot to learn!
@scwan-ew8uh
@scwan-ew8uh Год назад
Show me the javascriptdockerfile
@GerardoBelot
@GerardoBelot 8 месяцев назад
NO more than a like becouse I can't, thank for the video!!!
@namename8986
@namename8986 2 месяца назад
this does not work whatsoever for me
@navanshu
@navanshu 3 месяца назад
Different port is same domain not different
@derfic
@derfic Год назад
Hello, nginx proxy is more powerful and useful 🙂 but without beautiful web gui
@AinzOoalG0wn
@AinzOoalG0wn Год назад
more powerful in what way?
@jayp9158
@jayp9158 Год назад
I just understood "I'm too dumb and lazy to understand this new Technology so I will stick with Nginx"
@derfic
@derfic Год назад
@@jayp9158 new technologies appear every day, but most of them sucks 🤷🏻‍♂️
@joedrezden
@joedrezden Год назад
Could nginx proxy ssh connections? I don't.
@derfic
@derfic Год назад
@@joedrezden lol, we speak about redirects of http traffic
Далее
Expose Your Docker Containers With Traefik
19:33
Просмотров 22 тыс.
18 Weird and Wonderful ways I use Docker
26:18
Просмотров 246 тыс.
Тренд Котик по очереди
00:10
Просмотров 335 тыс.
skibidi toilet multiverse 042 Trailer
01:57
Просмотров 3,1 млн
The intro to Docker I wish I had when I started
18:27
Просмотров 135 тыс.
Traefik 3 and FREE Wildcard Certificates with Docker
39:37
NGINX Tutorial - What is Nginx
14:32
Просмотров 194 тыс.
Using docker in unusual ways
12:58
Просмотров 453 тыс.
How I deploy serverless containers for free
6:33
Просмотров 517 тыс.
Running multiple Laravel apps locally with Docker
13:20