This is a demo project to showcase running microservices on Alibaba Cloud.
This demo is powered by the following projects and products:
This project contains the following applications (more applications are on the way):
You can use docker-compose to build docker images:
docker-compose build
You need to go to the src
directory, for each sub module, there is a build.sh
file, just run it to build the docker image for each module.
./build.sh
This project can be deployed to docker with the following command
docker-compose -f docker-compose.yml up
If you want to undeploy, use the following command
docker-compose -f docker-compose.yml down
This project can be deployed to Kubernetes cluster with the following command:
cd kubernetes-manifests/
for i in *.yaml; do kubectl apply -f $i; done
If you want to delete the deployment, please use the following command:
for i in *.yaml; do kubectl delete -f $i; done
This project can be deployed to Kubernetes cluster with helm chart:
helm install ./helm-chart --name microservice-demo
If you want to delete the deployment with helm, use the following command:
helm delete microservice-demo
If you are a collaborator, please read the Collaborator to prepare for development.
This project is originiated from GoogleCloudPlatform/microservice-demo