We're using Google Jib to create a Docker Image order-service:0.0.5-SNAPSHOT
that you see in docker-compose.yml
file.
- To create
order-service:0.0.5-SNAPSHOT
by usinggradlew
withJava 17
./gradlew clean build jibDockerBuild -x test
- Then, to spin up all the
docker-compose.yml
docker compose up -d
- Send sample requests to
Order Service
GET http://localhost:8080/orders/1
GET http://localhost:8080/orders/2
GET http://localhost:8080/orders/3
- Access Grafana to observe metrics, traces, logs at
http://localhost:3000
platforms {
platform {
architecture = 'arm64'
os = 'linux'
}
}
to
platforms {
platform {
architecture = 'amd64'
os = 'linux'
}
}
then run
./gradlew clean build jibDockerBuild -x test
https://www.youtube.com/playlist?list=PLLMxXO6kMiNg6EcNCx6C6pydmgUlDDcZY