- 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.
Step 1 : To clone this application
git clone https://github.com/eginnovations/webstore.git
Step 2 : Navigate to application home directory
cd webstore
Step 3 : To build the application
mvn clean package
Step 1 : Navigate to application home directory (webstore)
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 "webstore/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 "webstore/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