DevOps Classroom Series – 28/Nov/2020

Docker Compose

  • Scenario:
    • Consider your application has the following services
      • frontend
      • backend
      • payment processing
      • order processing Preview
    • When these individual microservices run together they form your application
    • For each service we would have one Dockerfile
    • When you want to run all the containers with one simple interface, this is where docker compose comes into play
    • Using Docker Compose we run multiple docker containers with simple commands.
    • Approach:
      • Create a yaml file where you describe all the services that are supposed to run together
      • Then use simple commands such as docker-compose up
  • Installing docker-compose on Linux Refer Here Preview Preview
  • Refer Here here for docker compose cheatsheet
  • To Create a docker-compose we need to create docker-compose.yaml file. Refer Here for the docker-compose reference
  • Refer Here for the docker-compose with volumes

OpenShift

  • Openshift is a platform built for running containers. This is maintained by Redhat

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Customized Social Media Icons from Acurax Digital Marketing Agency

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube