- 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
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