Microservice for Product Info with Review
- Both micro-services are used maven as build tool.
- Please use mvn clean install for building the projects
- Jars will generate in target directory
- Please reach into target directory of the projects
- run following commands
- Product Service configured at 8080 : http://localhost:8080/swagger-ui.html
- Review Service configured at 8081 : http://localhost:8081/swagger-ui.html
- build docker image for review service : docker build -t microservicetest/review-service .
- build docker image for product service : docker build -t microservicetest/product-service .
- docker run -p 8081:8081 --name REVIEW_SERVICE microservicetest/review-service
- docker run -p 8080:8080 --add-host host.docker.internal:host-gateway --name PRODUCT_SERVICE microservicetest/product-service