Тёмный
No video :(

How to Run MongoDB in Docker 

ScriptBytes
Подписаться 2,2 тыс.
Просмотров 17 тыс.
50% 1

Опубликовано:

 

26 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 37   
@emericpetitgenet3512
@emericpetitgenet3512 2 месяца назад
Dude you make it practical and easy to understand basic concepts for running mongoDB in docker. Enjoyed the video
@scriptbytes
@scriptbytes 2 месяца назад
I appreciate that, thank you!
@MrSadPanda
@MrSadPanda 9 месяцев назад
Quick, thorough, and very helpful! Thanks for the video!
@scriptbytes
@scriptbytes 9 месяцев назад
Thank you!
@mikegreiling
@mikegreiling Месяц назад
Thank you. Clear, concise and exactly the information I was looking for.
@scriptbytes
@scriptbytes 29 дней назад
Glad it was helpful!
@renealbrechtsen9743
@renealbrechtsen9743 Месяц назад
In newer docker versions you can just call it 'compose.yaml" and you also don't need to add "version".
@hayoudoing
@hayoudoing 3 месяца назад
This is gold. Thanks a lot
@scriptbytes
@scriptbytes 3 месяца назад
Happy to help!
@user-bz4hj2xf9z
@user-bz4hj2xf9z 3 месяца назад
Hey, man! Thank you for your comprehensive guide! This helped me A LOT!
@scriptbytes
@scriptbytes 3 месяца назад
You’re welcome, thanks for watching!
@jakubk7158
@jakubk7158 Месяц назад
great video thanks :)
@SimanAndGarfunkel
@SimanAndGarfunkel 6 месяцев назад
really nice, straight forward with the important details explained.
@scriptbytes
@scriptbytes 6 месяцев назад
Thanks for watching!
@PilotGT
@PilotGT Месяц назад
well done, thanks for posting
@yadnyesh
@yadnyesh 5 месяцев назад
Cut to chase, loved your video, thank you very much!
@scriptbytes
@scriptbytes 5 месяцев назад
Glad you enjoyed it!
@tiendatnguyen6758
@tiendatnguyen6758 2 месяца назад
really detaille , I love it
@scriptbytes
@scriptbytes 2 месяца назад
Glad you like it!
@fatimarani6544
@fatimarani6544 11 дней назад
PS D:\mongoDB> docker compose up no configuration file provided: not found got this error
@edward481
@edward481 3 месяца назад
Thanks so much for this video, very clear and helpful. Do you know why a second volume is created which has a name that looks like a long id of some kind?
@WinaM2
@WinaM2 5 месяцев назад
Thanks bro, you saving me!
@scriptbytes
@scriptbytes 5 месяцев назад
Glad I could help!
@doodleydude7833
@doodleydude7833 9 месяцев назад
thanks man, this helps a lot
@scriptbytes
@scriptbytes 9 месяцев назад
No problem! Thanks for watching.
@paulh6933
@paulh6933 10 месяцев назад
Awesome video. couple of q's. when u make a named volume, where is it located in case i wanted to back it up (guessing it may change between mac and windows). how much memory does your mac have. on windows, w/ wsl i mac out my 16gb, even w/ restricting resources
@scriptbytes
@scriptbytes 10 месяцев назад
With named volumes, I'm not actually sure where they are, Docker handles all of it. However it sounds like you might want to not use a named volume, and instead give it a path directly to a folder on your pc. Something like this: -v C:/path/to/folder:/data/db This way instead of a volume managed by Docker, it's a folder directly on your host. I have 32GB of memory on this. It's pretty normal for me to be using around 25GB total, but I run a lot of stuff at once lol.
@AmitKapadiaUK
@AmitKapadiaUK 6 месяцев назад
This is a fantastic tutorial. Can you show how we would deploy this docker compose image to gcloud please. I'm stuck on how to get this live. 🙏
@scriptbytes
@scriptbytes 6 месяцев назад
Where and how you deploy it depends on a few things (price, size, public facing, managed, etc), but I have an older video out that shows how to run a Postgres database on a Google Compute Engine VM. In that video I am showing postgres, and I'm using Docker Run (not compose), but the same general rules would apply. I haven't used it, but MongoDB Atlas in GCP is another option, but it's not using Docker.
@AmitKapadiaUK
@AmitKapadiaUK 6 месяцев назад
@scriptbytes thank you. It's for a client of mine. Small app with not many impressions. Less than a thousand impressions a month. My docker compose image is using node and postgres images
@zed620
@zed620 8 месяцев назад
How do I run TWO or more Micro-services (Spring boot + MongoDB) in a docker compose container ? I can not get my head around it, do I need two separate instance of MongoDB on two different ports?
@scriptbytes
@scriptbytes 8 месяцев назад
If you need two different databases in the same docker compose, then I think they need to be on different ports. I haven't tested it yet, but I would think it would work. Maybe I'll do some testing and research and do a video on it.
@scriptbytes
@scriptbytes 8 месяцев назад
I just ran a really really quick test. I created two different databases in my docker compose file, each with a unique port. I was able to connect to each of them. I think that should work for you. Good luck!
@RomiLandau
@RomiLandau 6 месяцев назад
for some reason i cant seem to connect to the server , the container is running but i cant connect , i have tried every thing
@scriptbytes
@scriptbytes 6 месяцев назад
Are you getting any errors or info from the logs in the container? It will probably show if it's a wrong password or anything like that. One thing that's happened to me is having special characters in my password that the terminal didn't like. Thinks like \ / ' #, etc.
@RomiLandau
@RomiLandau 6 месяцев назад
@@scriptbytes actually I had mongo installed before (locally) and the connection tried only the local one no matter the port , once I deleted the local one it worked great
Далее
How to add Blazor Hot Reload
2:23
Просмотров 2,5 тыс.
Only I get to bully my sister 😤
00:27
Просмотров 17 млн
Ultimate Docker Compose Tutorial
1:03:14
Просмотров 167 тыс.
I've been using Redis wrong this whole time...
20:53
Просмотров 354 тыс.
The intro to Docker I wish I had when I started
18:27
How to deploy a dockerized FastAPI to Cloud Run
22:22
Просмотров 1,8 тыс.
100+ Docker Concepts you Need to Know
8:28
Просмотров 927 тыс.
How to use MongoDB in a Docker container
10:52
Просмотров 3,4 тыс.
How to create a great dev environment with Docker
29:55
Writing My Own Database From Scratch
42:00
Просмотров 212 тыс.
Using docker in unusual ways
12:58
Просмотров 441 тыс.
Using Prisma with MongoDB + Docker
10:59
Просмотров 7 тыс.