A microservice provides a series of service.
369
A microservice provides a series of service.
Access http://HOSTNAME/swagger-ui.html will get all services.
docker build -t cloudadc/backend:0.1.5 .
docker push cloudadc/backend:0.1.5
docker run -e "APP_DATACENTER_NAME=MP" -e "APP_VERSION_NUMBER=1.0" -e "APP_DECISION_BI_RPT=BI" -p 8080:8080 cloudadc/backend:0.1.5
$ curl http://localhost:8080/v3/api-docs
$ curl http://localhost:8080/api/fruits
[{"id":1,"name":"Cherry"},{"id":2,"name":"Apple"},{"id":3,"name":"Banana"}
$ curl http://localhost:8080/api/fruits/3
{"id":3,"name":"Banana"}
https://github.com/cloudadc/client-server-demo/tree/master/backend
Content type
Image
Digest
sha256:d54b07833…
Size
229.3 MB
Last updated
over 2 years ago
Requires Docker Desktop 4.37.1 or later.