Skip to content
Define and run multi-container applications with Docker
Python Shell Other
Branch: master
Clone or download
dependabot-preview and ndeloof Bump coverage from 4.4.2 to 4.5.4
Bumps [coverage](https://github.com/nedbat/coveragepy) from 4.4.2 to 4.5.4.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@coverage-4.4.2...coverage-4.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Latest commit e9220f4 Nov 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Stash all macOS build artifacts Nov 29, 2019
.github Update maintainers and add CODEOWNERS for github Nov 22, 2019
bin Use newer versions of pre-commit hooks Aug 21, 2017
compose Report image we can't pull and must be built Nov 25, 2019
contrib Add shell completions for --env-file option Jul 24, 2019
docs docs/README.md: update since `vnext-compose` branch is no longer used. Mar 6, 2019
experimental Remove doc on experimental networking support Jul 25, 2016
project Document new release process Apr 27, 2018
pyinstaller Refactor Dockerfiles for generating musl binaries Apr 17, 2019
script Upload macOS folder format to bintray Nov 29, 2019
tests Report image we can't pull and must be built Nov 25, 2019
.dockerignore Some additional exclusions in .gitignore / .dockerignore Oct 17, 2018
.fossa.yml Add .fossa.yml file Jun 24, 2019
.gitignore Some additional exclusions in .gitignore / .dockerignore Oct 17, 2018
.pre-commit-config.yaml Update `reorder_python_imports` version to fix Unicode problems Nov 30, 2018
CHANGELOG.md "Bump 1.25.0" Nov 18, 2019
CHANGES.md Rename CHANGES.md to CHANGELOG.md Aug 14, 2015
CONTRIBUTING.md Keep CONTRIBUTING.md information up to date Feb 12, 2018
Dockerfile Add dependencies for ARM build Oct 9, 2019
Dockerfile.s390x update alpine version to 3.10.1 Aug 20, 2019
Jenkinsfile Run CI on amd64 Oct 14, 2019
LICENSE Docker, Inc. Jul 24, 2014
MAINTAINERS Update maintainers and add CODEOWNERS for github Nov 22, 2019
MANIFEST.in Update setup.py for modern pypi /setuptools Dec 1, 2018
README.md Announce drop py2 Nov 21, 2019
SWARM.md Update Swarm integration guide and make it an official part of the docs Feb 23, 2016
appveyor.yml Harmonize tox and virtualenv versions Feb 21, 2019
docker-compose-entrypoint.sh Refactor Dockerfiles for generating musl binaries Apr 17, 2019
docker-compose.spec Enable bootloader_ignore_signals in pyinstaller Mar 22, 2019
docker-compose_darwin.spec Build OSX binary as a directory Nov 21, 2019
logo.png include logo in README Sep 15, 2015
requirements-build.txt requirements: update jsonschema dependency Jul 27, 2019
requirements-dev.txt
requirements.txt update docker-py Oct 18, 2019
setup.cfg enable universal wheels Jan 10, 2017
setup.py Use python Posix support to get tty size Oct 16, 2019
tox.ini Bump python version from 3.6.8 to 3.7.2 Feb 21, 2019

README.md

Docker Compose

Docker Compose

❗️ The docker-compose project announces that as Python 2 reaches it's EOL, versions 1.25.x will be the last to support it. For more information, please refer to this issue.

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

  • Full documentation is available on Docker's website.
  • Code repository for Compose is on GitHub.
  • If you find any problems please fill out an issue. Thank you!

Contributing

Build Status

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

Releasing

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

You can’t perform that action at this time.