Pet project. Microservice architecture practice.
Container orchestration: Kubernetes/Docker compose
Backend Stack: NodeJS, Express, Typescript, RabbitMQ, Docker.
Frontend Stack: ReactJS, RTK-Query, Redux, Typescript, Docker, Nginx
Databases: MongoDb, Redis
Install cloud-disk-app with docker-compose
docker-compose up -d --build
docker-compose upAlso deployment is available via local Kubernetes cluster (minikube)
- Build all docker images
cd cloud-disk-monorepo/microservices_workspace/auth_service
docker build -t <image_name> .Optional: To check whether some images are broken or not after setting them all up we can compose them
docker-compose up --build- Create Kubernetes recource files and start a local K8s cluster.
cd cloud-disk-monorepo
kubectl apply -f ./k8s -R
minikube startTo open live kubernetes dashboard
minikube dashboardTo run this project, you will need to add the following environment variables to each services' .env file
FILE_SERVICE_PORT
AUTH_SERVICE_PORT