- Nginx
- Angular
- NodeJS
- Java
- MongoDB
- MySQL
┌───────────────────┐
│Nginx (API Gateway)│
└───────────────────┘
______________/ | \____________
| | |
| "/" | "/api" | "/webapi"
| | |
↓ ↓ ↓
┌─────────────────┐ ┌────────────────────┐ ┌─────────────────┐
│ Client(Angular) | | NodaJS (Emart API) | | Books API (java)│
└─────────────────┘ └────────────────────┘ └─────────────────┘
| |
↓ ↓
┌────────────────┐ ┌──────────────┐
|MongoDB Database| |Mysql Database│
└────────────────┘ └──────────────┘
-
- Fetch source code from git repository
-
- Create Dockerfile for Client app, NodeJs api server, java api server, mongodb and mysql service,
-
- Create the docker-compose file, build image, test the services, and push the docker images onto dockerhub
docker-compose up