Skip to content

Latest commit

 

History

History
48 lines (41 loc) · 2.38 KB

README.md

File metadata and controls

48 lines (41 loc) · 2.38 KB

Run Microservices Demo with Docker Compose and Docker Machine

Docker Machine can create virtual machines to run Docker on. It supports Virtual Box but also many other technologies including several clouds. Docker Compose create all the Docker containers needed fot the systems.

To run the demo:

The result should be:

  • Docker Compose builds the Docker images and runs them.

  • Use docker-machine ip dev to find the IP adress of the virtual machine.

  • You can access the application at http://ipadresss:8080/ . It has a web page with links to all other services.

  • You can find the Eureka dashboard at http://ipadress:8761/.

  • The Hystrix dashboard can be found at http://ipadress:8080/turbine/hystrix .

  • You can access the Turbine dashboard by follwing the link on the page. The URL for the data stream of all Hystrix data of all Order nodes is http://172.17.0.10:8989/turbine.stream?cluster=ORDER - the IP-Adresse changes. Look it up in the Eureka dashboard for service turbine. You can also connect to a Hystrix stream of an order service. You need to use the address http://172.17.0.9:8080/hystrix.stream of the Order App. The IP address can be found in the Eureka dashboard.

  • Use docker-machine rm dev to destroy the virtual machine.