Please include this in the "Production ready server" playlist. As horizontal auto-scaling is also a very useful feature in the production ready server. Amazing content. Thanks.
@aspirinemaga Жыл бұрын
Man what a perfect and straight explanation. thank you so much for your efforts! you are a legend
@suman63272 жыл бұрын
Such crisp & clear explanation. Thanks a lot.
@digvijayyamagekar43002 жыл бұрын
this is some production level content 😂 thanks man
@mafiacodes2 жыл бұрын
Subscribe like share 👍
@abhijeetshikharvlog14442 жыл бұрын
Your docker series is awosme .Beacuse u covered almost all tpoics in crash code mode .Thanks
@petroniobonavides35306 ай бұрын
Mann.. this lecture is awesome.. thanks. Alottttt
@audiodrocher2 жыл бұрын
Please accept my gratitude for your content it's definitely helpful ☺️
@mhavock2 жыл бұрын
Still waiting to see the 1000 container version as promised in the thumbnail .... :)
@eddwinnas2 жыл бұрын
I couldnt figure it out and you saved me hours of work thanks!!!
@mafiacodes2 жыл бұрын
Subscribe like share 👍
@Xaero3242 жыл бұрын
Since there's no upstream definition in the nginx conf, we're pretty much stuck to a round-robin type of configuration with this setup right?
@yasser.dev7 Жыл бұрын
Pure Gold 🪙, Thank you man!
@namcaohai22212 жыл бұрын
thank you so much. All you guys are brilliant!!
@Mysterious_debris_11113 жыл бұрын
Great content. Do upload similar content so that we as developers can get advanced.
@mafiacodes3 жыл бұрын
Subscribe like share
@mukuljain83833 жыл бұрын
great tutorial, bring more videos on how to work with nodejs and if possible react and aws
@mafiacodes3 жыл бұрын
Thanks, will do!
@10cu7u511 ай бұрын
Does this also work with JWT Auth containers? Or will this mess up the JWT auth?
@johndoe-g6q3 ай бұрын
Hi, when i tried setting it up.. it only routes between 2 containers instead of all containers (in my case 5). why is it so?
@ashutosh887_2 жыл бұрын
Truly a Gem! ✨✨✨
@someonenotlikeyou7 ай бұрын
I have been scratching my head the whole day trying to figure out why my nginx wasn't working. I wasn't using docker-compose.yml; instead, I was creating separate containers for each server instance. On top of that, I was editing the main nginx configuration file (/etc/nginx/nginx.conf) instead of changing the virtual host configuration file (/etc/nginx/conf.d/default.conf) as you did. After watching your video, I figured out two issues. First, my containers were not communicating with each other because I hadn't created a custom network for them. After doing that, everything worked fine with reverse proxy and load balancing. Second, I still don't understand what the issue was with using the same upstream to specify the servers and the location with the proxy_pass directive to send them to the servers in round-robin. Maybe it's not a good practice to update the main nginx configuration file directly, but I'm not sure. Can you provide me with some resources to read more about nginx configurations? Thanks a lot; this video was a great help! 💕💕
@riteshthakur92503 жыл бұрын
Great tutorial sir as always you make really good tutorials.
@mafiacodes3 жыл бұрын
Thank you very much!
@digvijaysinghthakur29033 жыл бұрын
So clear and precise tutorial please make tutorials on kubernetes for beginners also.
@mafiacodes3 жыл бұрын
Subscribe like share
@sathithyayogi992 жыл бұрын
man thanks for great content
@mehmetbilentr Жыл бұрын
Simple and quite usefull explanation, thank you.
@silverskull4140 Жыл бұрын
In npm ci, ci stands for clean install.
@kks210510 ай бұрын
Great explanation, thank you. I was just wondering, if we are running in same machine we can use cluster module as well right? The nginx with auto-scaling may become prominent when using multiple standalone servers, isn't that right?
@gupta05 Жыл бұрын
I am getting error while running docker compose up --scale api-2 - curl localhost:3000 does not round robin between 2 containers alternativly although both containers are created as seen in docker ps. what could be the issue. please help. thank you
@medievalogic9 ай бұрын
You're not using nginx here to load balance. You're using docker to load balancer. Tge nginx container is just a proxy in this setup.
@salishsath5303 ай бұрын
how it will auto scale
@SamyarBorder Жыл бұрын
Wow that was awesome 👌 thank you
@samatzhussipov11392 жыл бұрын
Worker conrainers limited by server thread? Example: server - 4 core 8 thread 4 ram --> I can create only 7 worker container + 1 for nginx ?
@sathithyayogi992 жыл бұрын
may i know what terminal you are using, i am also want suggestion like that
How we scale up the Nginx container so that there are two replica of Nginx?
@barcasnerd2 жыл бұрын
How can I configure this nginx to add a new distinct service with a different server location, for example /new
@arthurmelo882 жыл бұрын
there is a way to create a rule for nginx to fire up more docker containers based on requests demand?
@vishaldharmawat Жыл бұрын
Amazing Video :) Really helped, just one correction, I believe CI stands for Clean Install. Please correct me if I am wrong.
@13odman Жыл бұрын
Correct
@mimahmed952 жыл бұрын
Superb. Thanks for your hardwork.
@eL3M3nT4LisT Жыл бұрын
Thank you man you are the best
@mirzaleka93192 жыл бұрын
Well explained. Thank you!
@sajjadmazhar16662 жыл бұрын
what theme are you using?
@ilyaslabukarov59592 жыл бұрын
Thank you very much! This video helped me a lot.
@georgestatefield2 жыл бұрын
What a nice lesson!
@leamon90242 жыл бұрын
Awesome explanation. Thank you.
@Bengali42 жыл бұрын
Great video, is it possible to configure de reverse proxy to request server from another machine with different IP? Like configure an upstream cluster in nginx
@samansaeedi102 Жыл бұрын
awesome. but you didnt say about load balancer!! is it in another video?
@AbdulAlim-zg8vt3 жыл бұрын
I really liked your command prompt theme. Can you please tell me the theme name?
@Anubis101102 жыл бұрын
Thank you so much amazing video
@naturevibezz2 жыл бұрын
Can we use this in a production environment??
@mafiacodes2 жыл бұрын
Yup
@amansarma4173 жыл бұрын
Sir lets say i have three vps each of dual core processor and each vps will have two docker container running(of same image). How can we load balance and proxy using docker. Since the vps are different they will have different ip and container id how do we link all of them? Do we need to have another vps only for nginx to load balance or just puting nginx in vps1 it will do the job?
@mohamedsulaimaansheriff9787 Жыл бұрын
This is not possible
@ronaldfungss2 жыл бұрын
great content! thanks a lot!
@LexPrimost Жыл бұрын
Hi ! great video as usual !, is that a normal behavior that you can access the api container by its port without exposing the 3000 port in its Dockerfile?
@carvalho1990 Жыл бұрын
Great tutorial, but scaling all those app in the same machine, even with different containers, won`t make so much difference, right?
@AadiManchekar2 жыл бұрын
Thankyou
@milon273 жыл бұрын
thank you. how to scale my MySQL database? i am using 1vcpu,2gb ram digital ocean droplet, which contains a node js API and MySQL server, it works fine, but after 10-12 days MySQL queries become slower. how to scale MySQL? i have 50% ram free and only 3-4 % cpu is using most of the time.
@Mysterious_debris_11113 жыл бұрын
Try using cockroach db... It is fun.
@SavagePlay Жыл бұрын
can someone give his zsh theme
@usama579262 жыл бұрын
good video
@thianesh9097 Жыл бұрын
Great! Tank you ❤ Hey Bro, I'm scaling a Chatbot where the user's history is preserved. After scaling up I want the users second or forthcoming request to point to the First request Host. I can send the hostname to user and send it back as you shown. Can U guide how to map request to particular host?
@mr_ehmed2 жыл бұрын
Best
@MrCray6783 жыл бұрын
Bro AWS having less tutorial in KZbin so working with Aws is too hard for who never know about it can we have tutorial about it
@mafiacodes3 жыл бұрын
I’ll try to make it Subscribe like share
@ghostkee5031 Жыл бұрын
the only non well explained! part is specifying api on proxy_pass and not saying where its coming from or how nginx detect it cuz its a service name not a loadbalancer upstream name
@BilalShahid-z7y4 ай бұрын
wait wait.. npm ci doesnt stand for "continuous integration" it stands for "clean install". make some correction dude.
@himanshulal973 жыл бұрын
I love ❤ you
@thisismegopi3 жыл бұрын
npm ci = clear & install
@mafiacodes3 жыл бұрын
Imo continuous integration
@azlk_playz86692 жыл бұрын
why u didnt use any orchestration tool? why you made things this complicated??? @yoursTRULY