queue-master application written in [java] that processes the orders queue
Name | Version |
---|---|
Docker | = 1.11.2 |
Maven | = 3.5.0 |
JDK | = 8 |
example: docker-image-name:version-tag --> sockshop-queuemaster-service:0.0.1-SNAPSHOT
git clone git@github.com:huawei-microservice-demo/queue-master.git
cd queue-master
maven clean install
docker build -t [docker-image-name:version-tag] . put the JAR file and docker file in same folder and execute the above command.
docker tag [docker-image-name:version-tag] registry.cn-north-1.hwclouds.com/hwcse/[docker-image-name:version-tag] Note: hwcse is service stage username. registry.cn-north-1.hwclouds.com is service stage available zone.
docker login -u [username] -p [private-key] [registry-name]
docker push registry.cn-north-1.hwclouds.com/hwcse/[docker-image-name:version-tag]
Create the appliation in service stage and give the respective docker image path.
Login to the service stage and check the status of application.