This is simple nodejs based application designed to showcase microservices in docker and kubernetes. Application contains one web application and two REST api services where one of the service is internal which is not directly accessible from internet.
Configuration demonstrates basics how to setup local docker registry and local kubernetes hosting. e.g. If you want to create own private cloud solution.
❕ Please notice that example is documented based on Windows host.
All application services used in showcase are written with NodeJS.
Simplyfied overal structure of application networking.
Simplyfied overal structure of application networking.
The main levels of the repository directory tree are laid out as follows
.
├── backend-api1 NodeJS backend service 1.
│ └── api REST api's.
├── backend-api2 NodeJS internal backend service 2.
│ ├── api REST api's.
├── docs Documentation
├── frontend NodeJS hosted webapp.
├── kubernetes Kubernetes installation scripts to setup application to kubernetes.
├── docker-compose.yml Docker compose to setup application to docker.
To build docker images run
./build.sh
To deploy microservice on kubernetes run
./kubernetes/install.sh