The project M2M
stands for Monolith-2-Microservices
.
It consists of breaking down
of Monoliths into Microservices
.
Table of Contents
This project has the following objectives:
-
Get familiar with reading error stack trace and debugging code.
-
Convert a monolith architecture based docker-compose application into a microservices based architecture.
- Python
- Docker
- docker
- docker-compose
- Follow the guides based on your operating system.
- Internet
- Pull docker image
python:3.8-alpine
beforehand to avoid connectivity issues.
- Pull docker image
- Build & Run
# under the microservices directory, under M2M directory
# NOTE: For any code changes to be reflected, the build command must be rerun, and then up
docker-compose build
# run without the -d flag incase you want to observe the logs
docker-compose up -d
- To stop the services in detached mode
docker-compose down
- M2M project can be used to break monoliths into microservices.
- This is crucial to upload applications on cloud.
- Thereby this project helps in converting stand-alone applications into cloud-based or cloud-supported applications.
The diagram only shows the services already defined within the microservice architecture for visualization purposes. More services can also be added.