How to use Docker to dockerize a React app, Nodejs and Nginx reverse proxy - step by step tutorial

preview_player
Показать описание
Welcome to Codeching channel! In this tutorial I will show you how to use Docker to dockerize a React application with Nodejs backend and Nginx proxy. It is a step by step video where first we will write a minimalist webserver app using Express. We will extend our previous docker-compose file to create a backend container and using nginx proxy for the backend.

------------------------------
My name is László Leber
Рекомендации по теме
Комментарии
Автор

Man u are an nginx ninja. No one on stackoverflow was able to provide a simple explanation for this proxy container nightmare. Thanks for sharing your knowledge. Anyone who can explain difficult topics in such simple terms is a true expert. Thanks buddy.

Derrick-fm
Автор

Very well explained. This really helped. Thank much for serving the community.

saurovk
Автор

Loved your tutorial. Keep them coming!

sreekarreddy
Автор

Thanks a lot, Codeching. This is a great tutorial!

vorashilfarzaliyev
Автор

hey, @codeching don't stop man! you are creating really great content and I would like to collaborate with you.

sheel
Автор

Well, nice short video. Yet i miss the understanding of the linking of nginx and the backend in the nginx.conf. I saw you typed backend:9000, but what is "backend" ? is it a domain name resolved by your etc/hosts or is it the identifier of the service defined in the dockerfile, or is it something else ?

superkeil
Автор

Do I have to use docker compose ? Is there another way to make the frontend call the backend through nginx with only the Dockerfile without compose ?

mohamedalaa
Автор

Hi @codeching, can I use the same port to the frontend and backend? like port 80 maybe, and how if the frontend and backend are separating by 2 directories, where should I create the Dockerfile and the docker-compose file?

muhamadalfatih
Автор

You going off the screen coming back, moving around the screen is kind of distracting! 😄
Great tutorial though! 👌

Mellowjay
Автор

thanks, but you should really put the github repo with final results.

zorgimax
welcome to shbcf.ru