- Run the application without APM Agent attached to it
- Run the application with APM Agent using volume mount approach
- Run the application using embedded APM Agent
- Make sure you have JAVA 8 or JRE 8 installed.
- Make sure you have maven installed.
- Make sure you have git installed.
- Make sure you have docker-compose installed.
git clone https://github.com/javaapm/MicroSvcApp.git
cd MicroSvcApp
mvn clean package
Edit MicroSvcApp/Modules/webstore/src/main/resources/config.properties
core_domain=webstore:80------------>core_domain=webstore:8080
product_domain=product:80---------->product_domain=product:8080
cart_domain=quote:80---------------->cart_domain=quote:8080
order_domain=order:80--------------->order_domain=order:8080
customer_domain=customer:80------->customer_domain=customer:8080
payment_domain=payment:80--------->payment_domain=payment:8080
Step 1 : Navigate to application home directory (MicroSvcApp)
Step 2 : To build docker images and run all the application containers
docker-compose up -d --build
Step 3 : To ensure all containers started and running docker ps -a
Step 4 : Open the browser and access the application using "http://DOCKER_HOST_IP:8070/webstore"
Step 1 : Navigate to directory "MicroSvcApp/btm_volume_mount/"
Step 2 : To build docker images and run all the application containers
docker-compose up -d --build
Step 3 : To ensure all containers started and running docker ps -a
Step 4 : Open the browser and access the application using "http://DOCKER_HOST_IP:8070/webstore"
Step 1 : Navigate to directory "MicroSvcApp/btm_embedded/"
Step 2 : To build docker images and run all the application containers
docker-compose up -d --build
Step 3 : To ensure all containers started and running docker ps -a
Step 4 : Open the browser and access the application using "http://DOCKER_HOST_IP:8070/webstore"
Step 1 : Navigate to directory where the docker-compose.yml is present and run the below command.
docker-compose down