This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Multi-container orchestration for Docker

Project Description

Docker Compose

Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a Compose file to configure your application’s services. Then, using a single command, you create and start all the services from your configuration. To learn more about all the features of Compose see the list of features.

Compose is great for development, testing, and staging environments, as well as CI workflows. You can learn more about each case in Common Use Cases.

Using Compose is basically a three-step process.

  1. Define your app’s environment with a Dockerfile so it can be reproduced anywhere.
  2. Define the services that make up your app in docker-compose.yml so they can be run together in an isolated environment.
  3. Lastly, run docker-compose up and Compose will start and run your entire app.

A docker-compose.yml looks like this:

version: '2'

services:
  web:
    build: .
    ports:
     - "5000:5000"
    volumes:
     - .:/code
  redis:
    image: redis

For more information about the Compose file, see the Compose file reference

Compose has commands for managing the whole lifecycle of your application:

  • Start, stop and rebuild services
  • View the status of running services
  • Stream the log output of running services
  • Run a one-off command on a service

Installation and documentation

Contributing

Want to help build Compose? Check out our contributing documentation.

Releasing

Releases are built by maintainers, following an outline of the release process.

Release History

Release History

This version
History Node

1.14.0

History Node

1.14.0rc2

History Node

1.14.0rc1

History Node

1.13.0

History Node

1.13.0rc1

History Node

1.12.0

History Node

1.12.0rc2

History Node

1.12.0rc1

History Node

1.11.2

History Node

1.11.1

History Node

1.11.0

History Node

1.11.0rc1

History Node

1.10.1

History Node

1.10.0

History Node

1.10.0rc2

History Node

1.10.0rc1

History Node

1.9.0

History Node

1.9.0rc4

History Node

1.9.0rc3

History Node

1.9.0rc2

History Node

1.9.0rc1

History Node

1.8.1

History Node

1.8.0

History Node

1.8.0rc2

History Node

1.8.0rc1

History Node

1.7.1

History Node

1.7.0

History Node

1.7.0rc2

History Node

1.7.0rc1

History Node

1.6.2

History Node

1.6.1

History Node

1.6.0

History Node

1.6.0rc1

History Node

1.5.2

History Node

1.5.1

History Node

1.5.0

History Node

1.5.0rc3

History Node

1.5.0rc2

History Node

1.5.0rc1

History Node

1.4.2

History Node

1.4.1

History Node

1.4.0

History Node

1.4.0rc3

History Node

1.4.0rc2

History Node

1.4.0rc1

History Node

1.3.3

History Node

1.3.2

History Node

1.3.1

History Node

1.3.0

History Node

1.3.0rc3

History Node

1.3.0rc2

History Node

1.3.0rc1

History Node

1.2.0

History Node

1.2.0rc4

History Node

1.2.0rc3

History Node

1.2.0rc2

History Node

1.2.0rc1

History Node

1.1.0

History Node

1.1.0-rc2

History Node

1.1.0-rc1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
docker_compose-1.14.0-py2.py3-none-any.whl (97.6 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jun 19, 2017
docker-compose-1.14.0.tar.gz (205.7 kB) Copy SHA256 Checksum SHA256 Source Jun 19, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting