Managing Multiple Containers and Distributed Application Bundles

This is the docker-compose.yml for running a Django application. A similar application can be found in the docker-compose documentation under the Django example.

Download the Django example from: ttps://docs.docker.com/compose/django/:

Managing Multiple Containers and Distributed Application Bundles

Note

Refer the complete code placed at Code/Lesson-2/django-docker-compose.yml.

Go to https://goo.gl/H624J1 to access the code.

Improve a Docker Workflow

To give more context on how docker-compose is involved and how it improves a Docker workflow.

  1. Create a new directory and name it django_docker.
  2. In the django-docker directory, create a new docker-compose.yml ...

Get Beginning DevOps with Docker now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.