Skip to content

Mygit-Naresh/roboshop-naresh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roboshop using Docker

Roboshop is a sample popular Microservices application. It is owned by Instana which is acquired by IBM. They use this project in their product developments like instana APM tool and other products. It has all the services used for an ideal ecommerce company.

We are going to create Docker images for every service and deploy them as Docker containers in EC2 instance.

Steps:

  • Clone this project.
git clone https://github.com/techworldwithsiva/roboshop.git
  • Build the images for each service.
cd roboshop
for i in web mongodb catalogue  user cart mysql shipping ratings payment; do cd $i ; docker build -t $i:v1 . ; cd .. ; done
  • Make sure folders are created for Docker volumes.
cd /home/ec2-user
mkdir mysql
mkdir rabbitmq
mkdir redis
mkdir mongodb
  • Run docker compose file
docker-compose up -d

alt text

About

This is for roboshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 48.5%
  • PHP 14.1%
  • Java 14.1%
  • HTML 9.9%
  • Python 5.5%
  • Dockerfile 2.7%
  • Other 5.2%