DEV Community

Cover image for Dockerize a Node.js app connected to MongoDb

Dockerize a Node.js app connected to MongoDb

Vladislav Guleaev on June 28, 2019

Hello dear coder, welcome to my tech articles series dedicated to Node.js and Docker. Hope you enjoy! Problem: You already know how to ...
Collapse
 
rknell profile image
Ryan Knell

Awesome, but what is the right way to take this into production? Do I clone a repo and run docker compose up on the server, or is there some relatively easy way to co-ordinate all this? I'm sure it's easy but I've never really got my head around it.

Collapse
 
vguleaev profile image
Vladislav Guleaev

There are many ways to do it, I will try to explain it in future articles, thanks for the feedback

Collapse
 
pclewisnz profile image
pclewisnz

In Dec 2020 I have followed this tutorial and it's the only one of the eight I have reviewed that works. It's well explained, well documented, excellent citations to allow further reading and apart from the thing I noted in Part 1, I was able to follow along in VSCode perfectly. Thanks for the tutorial! now on to Part 3!

Collapse
 
lysofdev profile image
Esteban Hernández

Great article but why not use the docker images from the start? That way you can avoid the installation steps.

Collapse
 
vguleaev profile image
Vladislav Guleaev • Edited

Sorry still learning how to better structure article tutorials, will improve it

Collapse
 
maxmaxymenko profile image
Max Maxymenko

One of the greatly detailed articles. Really enjoyed reading it. ❤️

Collapse
 
vguleaev profile image
Vladislav Guleaev

Thank you!

Collapse
 
to_code profile image
Thinking out code

Simple and good explanation.

Collapse
 
sivakumarbalu profile image
SivakumarBalu

Great Article! Enjoyed reading it.

Collapse
 
vguleaev profile image
Vladislav Guleaev

Thank you!

Collapse
 
bijay_ps profile image
BIJAY PRAKASH SINGH

Awesome I loved it. Also what if I want to add some data to mongo db, which is running from docker, via terminal before hand, say an Admin user. How can I do that?