Exploring Docker [2] - Docker Compose With Node & MongoDB

Exploring Docker [2] - Docker Compose With Node & MongoDB

Traversy Media

5 лет назад

230,213 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Traversy Media
Traversy Media - 15.08.2018 22:25

If you want your data to persist in prod, add something like this to your mongo service...

volumes:
- ./data/db:/data/db

.There are many resources online so when you create these files, be sure to check some other examples. This is a very basic setup

Ответить
Richard Walter Landa
Richard Walter Landa - 05.09.2023 02:23

liked, subscribed

Ответить
Sandeep Auddy
Sandeep Auddy - 27.05.2023 21:34

Thanks Brad

Ответить
Nur Alam
Nur Alam - 19.05.2023 07:46

best trainer Brad Travesrsy,

Ответить
Majid Jabori
Majid Jabori - 10.04.2023 11:27

perfect lesson, thank you for your efforts

Ответить
Ayaan Kaifullah
Ayaan Kaifullah - 24.02.2023 16:35

what if you want to edit the files?

Ответить
Marco Floriano
Marco Floriano - 12.01.2023 17:06

Thanks Brad for this tutorial. I had a little problem after docker composing up my app .. it runs but returns just the message "No items found" without any html, like a json response. Anyway it's a greate tutorial and helped a lot.

Ответить
World Kultur
World Kultur - 17.11.2022 04:03

Thank you, sir! I learned a lot following your codes, comment as well as all the explanation.

Ответить
Raphael Pereira
Raphael Pereira - 26.09.2022 22:35

saved my life.

Ответить
Phillip Kisembo
Phillip Kisembo - 10.08.2022 04:08

Brilliant video. Just getting started with all of this. I found it easy to follow along. You kept the jargon simple. I appreciate it

Ответить
Martin Mendez
Martin Mendez - 09.07.2022 02:34

You are The Man!!!

Ответить
majdi salameh
majdi salameh - 20.05.2022 10:09

Many thanks, great explanation

Ответить
Baalaark Thomurothu
Baalaark Thomurothu - 09.03.2022 23:01

Hello Sir
your lectures are awesome! Thank you

I

Ответить
Abhishek Sharma
Abhishek Sharma - 01.03.2022 03:30

Hi Brad, this whole series is really awesome. I have one question about mongo container. Do we need container for mongo if we are using mongo atlas service ?

Ответить
William Chorski
William Chorski - 14.12.2021 02:01

so a password and user was not set on the MongoDB image? What would be the enviromnents for the docker-compose.yml file to add this?

Ответить
ShaunPX1
ShaunPX1 - 30.10.2021 09:29

Dude you just saved me like a full days worth of headaches thank you, awesome video! How would you turn that IP from digital ocean into a domain name?

Ответить
BullDog
BullDog - 23.09.2021 05:50

Is there a way to display a maintenance page if the containers are not working?

Ответить
Bajpai Mahendra
Bajpai Mahendra - 19.09.2021 07:44

we should install new nodejs module insede container or host machine ?

Ответить
imanqolymoly
imanqolymoly - 10.08.2021 16:01

How many people you helped? Millions ❤

Ответить
Abhishek Kumar
Abhishek Kumar - 19.07.2021 05:00

Why are you using node_modules from the host machine? It should be from the container since some binaries may differ based on the host machine. BIg fan btw

Ответить
Nut
Nut - 30.06.2021 13:44

Thanks for your perfect tutorials. :)

Ответить