How to dockerize NodeJS and MongoDB application using docker-compose

preview_player
Показать описание
In this video we will learn how to use #docker-compose to containerize a #Nodejs #express with #MongoDB as a database.

Chapters:
Introduction 0:00
Description of Example Repo: 0:31
Dockerizing basics: 5:46
Files needed for docker compose: 7:07
Dockerfile for Nodejs application: 9:42
Bonus (npm ci) continuous integration: 12:42
.dockerignore file: 14:16
docker-compose: 16:48
MongoDB container (service): 18:12
Nodejs container (service): 21:57
Volume for MongoDB: 27:31
Starting container (docker compose up): 28:34
Port mapping for Mongodb: 34:24
Developing using #Nodemon: 36:46
Bonus (#Redis container): 41:25

--------------------------------------------------------------------------
--------------------------------------------------------------------------
--------------------------------------------------------------------------
💵Support the channel:
--------------------------------------------------------------------------
--------------------------------------------------------------------------

======================
✔ Other useful Playlists
======================

#yoursTRULY #tutorial #howto #nodejs #android
Рекомендации по теме
Комментарии
Автор

This was very thorough. After reading many tutorials about setting up Mongo for docker, this is the only one that actually worked. I'm now looking for more details on initializing Mongo database and roles, but this video has proven very useful.

chrisorescan
Автор

WOW, you are SO GOOD at teaching! You really understand the balance of how to give a good pace, while stopping to give explanations when needed.

Most coding tutorials don't understand the balance. They either explain every little thing, making the video super slow (and sometimes skipping an important explanation), or they just show a demo of them coding a project and don't explain anything.

I felt like you explained everything I wanted to know, and skipped everything I didn't.

stevenjchang
Автор

I was just at 9:54 mins before i subscribed to your channel.... You are very detailed and perfect at teaching... This was very helpful, Thank you.

paulnaija
Автор

I was working on flask (python) restful api with mongodb and none of the flask + docker tutorials I watched had worked. I decided to give this one a go and it worked like a charm. Thank you so much

nomanshahid
Автор

Crisp and clear explanation ✨. It Solved some of my doubts 🙌

karna.strikes
Автор

You saved my life with docker and nodejs tech

eLMnTLisT
Автор

Thank you for creating such an informative and easy-to-understand video on Docker. I was confused about its use and how to learn it, but this video cleared up all my doubts. Keep up the great work! 😊

jonee
Автор

Thank you man, for providing such a clear and straightforward tutorial

faysalahmed
Автор

this was a great tutorial. I have my nodejs and mongo project which I wanted to dockerize. thanks!

vishal-shinde
Автор

You just saved another 2 hours of my life. Thanks!!!

tatianalezhneva
Автор

Really Informative Explenation !! Great JOB !! Thank You !! 👏

pasindushavinda
Автор

Thank you, Bro! Very informative tutor! It helps me to start!

divisorZero
Автор

Really big thanks to you, how you explain every concept is so nice

sinaukode
Автор

Amazing tutorial.

The only tutorial which worked for me, many thanks. Keep it up

theprocoder
Автор

Gracias señor Hindú, me ayudó a salvar el semestre <3

TheJavituber
Автор

great video pls keep making this kind of new videos

vishwanathnijampurkar
Автор

That is a heck of a good tutorial. I hope you will extend it by migrating api to typescript - then there will be an additional build step.

aram
Автор

Thank you so much for this awesome Content 🙏🏻

AjaySharma-vzei
Автор

Man, Thanks for that. It was really useful. Simple however straight to the important points.

PackAndGoFamily
Автор

Thank you, this tutorial was absolutely perfect.

clamgts
welcome to shbcf.ru