Microservice Architecture with Spring Boot, Spring Cloud, and Docker — piggymetrics

Posted by

Let’s run piggymetrics

1. Clone the code from git:

git clone https://github.com/sqshq/piggymetrics.git

2. Install Maven && Docker


3. Compile

Switch to the PiggyMetrics project directory and execute the mvn package -DskipTests command packaging service

After the compilation and packaging are completed, a jar package is generated under the target directory of each subproject.


Under PiggyMetrics run cmd docker-compose -f docker-compose.yml -f docker-compose.dev.yml up

One comment

Comments are closed.