Spring Boot Microservices Running in Docker Container connecting MongoDB running in Docker Container

Опубликовано: 07 Октябрь 2024
на канале: codeonedigest
145
0

Running MongoDB in Docker Container - Containers offer easy app usage and scalability. Docker is a tool to create, deploy, and run applications using containers easily. A container is a standard unit of software that can be used to package applications and all the dependencies to a single package. These containers can be run on any server platform regardless of the underlying configuration or hardware structure. Docker can be used to run MongoDB instances. Setting up MongoDB as a container allows the user to create a portable and extensible NoSQL database.

Spring Boot is built on the top of the spring framework and contains all the features of the spring. And is becoming a favorite of developers these days because it’s a rapid production-ready environment that enables the developers to directly focus on the logic instead of struggling with the configuration and setup. Spring Boot is a microservice-based framework and making a production-ready application in it takes very little time.

Mongo Database - Database is a physical container for collections. Each database gets its own set of files on the file system. A single MongoDB server typically has multiple databases.

Mongo DB Collection - Collection is a group of MongoDB documents. It is the equivalent of an RDBMS table. A collection exists within a single database. Collections do not enforce a schema. Documents within a collection can have different fields. Typically, all documents in a collection are of similar or related purpose.

Postman Api Testing Tool: Postman is a tool used for API testing. It is an HTTP client that tests HTTP requests, utilizing a graphical user interface, through which we obtain different types of responses that need to be subsequently validated.

** TOPIC TO COVER **
1. Introduction MongoDB
2. Understand the Docker Container Architecture
3. Download MongoDB Image from DockerHub
4. Running MongoDB Image in Docker Container
5. Connect Compass GUI tool to MongoDB
6. Create Database and Collection using Compass tool
7. Insert Data in Database using Compass tool
8. Create Spring Boot Microservice Application
9. Understanding Bridge Network in Docker Containers
10. Understand port mapping and port forwarding in Docker Container
11. Understanding Dockerfile and Create Docker Image for Application
12. Run Spring Boot Microservice in Docker Container
13. Testing Spring Boot Microservice Application in Postman
14. Summary

#mongodb #docker #springbootmicroservices

** CodeOneDigest GitHub Repository **
https://github.com/codeonedigest/cont...


** Tools **
Docker Hub Login: https://hub.docker.com/login
Download MongoDB Compass: https://www.mongodb.com/try/download/...
Download Postman: https://www.postman.com/downloads/

** CHECK OUT OUR OTHER VIDEOS **
Spring boot project setup:    • Spring boot Project Step by Step Tuto...  
Spring boot microservice with mongo db project:    • Spring Boot Microservice Project with...  
Prepare Docker file, Container and Build Image:    • Docker Tutorial for Beginners | Creat...  
Run Docker Image on Custom Port:    • Docker Container Port Mapping Tutoria...  
Tag Docker Image and Push to Docker Hub Repository:    • Docker Tag and Push Image to Hub Regi...  
Deploy Docker Image AWS Elastic Container Service:    • Deploy Springboot Microservice Docker...  


** CHECK OUR PLAYLISTS **
Spring Boot Complete Tutorial    • Spring Boot Tutorial with Project Set...  
Docker Containers Complete Tutorial
   • Cloud & Container Tutorial with AWS C...  
GITHUB Repository Tutorial | Complete Guide to GITHUB for Beginners
   • GITHUB Repository Tutorial | Complete...  
Java Design Pattern Complete Tutorial    • Java Design Patterns for Student | Ga...  

** ABOUT OUR CHANNEL **
CodeOneDigest is a youtube channel that produces videos on programming languages, cloud and container technologies, Software design principles, Java frameworks in English and Hindi languages.
Dosto, CodeOneDigest youtube channel pe aapko programming languages, container technology, cloud computing, software engineering se related videos milenge.
Check out our channel here:
   / @codeonedigest  
Don’t forget to subscribe!

** OUR WEBSITE **
https://codeonedigest.wordpress.com/

** GET IN TOUCH **
Email us on [email protected]

FOLLOW US ON SOCIAL - LIKE, SHARE & SUBSCRIBE
Get updates or reach out to Get updates on our Social Media Profiles!
Subscribe: https://bit.ly/3NeWQ8U
Youtube:    / @codeonedigest  
Twitter:   / codeonedigest  
Facebook:   / codeonedigest  
Instagram:   / codeonedigest  
Linkedin:   / codeone-digest-10b418255  
Reddit:   / codeonedigest  
Github: https://github.com/codeonedigest
Website: https://codeonedigest.wordpress.com/
Tumblr: https://www.tumblr.com/codeonedigest
Pinterest:   / codeonedigest