• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

compose/H28-Mar-2019-17,44214,743

contrib/completion/H28-Mar-2019-1,119945

docker_compose.egg-info/H03-May-2022-9172

tests/H28-Mar-2019-19,80216,660

CHANGELOG.mdH A D28-Mar-201980.4 KiB2,1781,398

CHANGES.mdH A D28-Mar-201980.4 KiB2,1781,398

CONTRIBUTING.mdH A D29-Nov-20183.5 KiB7752

DockerfileH A D28-Mar-2019840 3728

LICENSEH A D29-Nov-201810.5 KiB192160

MANIFEST.inH A D04-Feb-2019317 1514

PKG-INFOH A D28-Mar-20194.1 KiB9172

README.mdH A D04-Feb-20192.5 KiB6547

SWARM.mdH A D29-Nov-201863 21

setup.cfgH A D28-Mar-201967 85

setup.pyH A D03-May-20223.5 KiB11393

tox.iniH A D28-Mar-2019970 5749

README.md

1Docker Compose
2==============
3![Docker Compose](logo.png?raw=true "Docker Compose Logo")
4
5Compose is a tool for defining and running multi-container Docker applications.
6With Compose, you use a Compose file to configure your application's services.
7Then, using a single command, you create and start all the services
8from your configuration. To learn more about all the features of Compose
9see [the list of features](https://github.com/docker/docker.github.io/blob/master/compose/overview.md#features).
10
11Compose is great for development, testing, and staging environments, as well as
12CI workflows. You can learn more about each case in
13[Common Use Cases](https://github.com/docker/docker.github.io/blob/master/compose/overview.md#common-use-cases).
14
15Using Compose is basically a three-step process.
16
171. Define your app's environment with a `Dockerfile` so it can be
18reproduced anywhere.
192. Define the services that make up your app in `docker-compose.yml` so
20they can be run together in an isolated environment.
213. Lastly, run `docker-compose up` and Compose will start and run your entire app.
22
23A `docker-compose.yml` looks like this:
24
25    version: '2'
26
27    services:
28      web:
29        build: .
30        ports:
31         - "5000:5000"
32        volumes:
33         - .:/code
34      redis:
35        image: redis
36
37For more information about the Compose file, see the
38[Compose file reference](https://github.com/docker/docker.github.io/blob/master/compose/compose-file/compose-versioning.md).
39
40Compose has commands for managing the whole lifecycle of your application:
41
42 * Start, stop and rebuild services
43 * View the status of running services
44 * Stream the log output of running services
45 * Run a one-off command on a service
46
47Installation and documentation
48------------------------------
49
50- Full documentation is available on [Docker's website](https://docs.docker.com/compose/).
51- Code repository for Compose is on [GitHub](https://github.com/docker/compose).
52- If you find any problems please fill out an [issue](https://github.com/docker/compose/issues/new/choose). Thank you!
53
54Contributing
55------------
56
57[![Build Status](https://jenkins.dockerproject.org/buildStatus/icon?job=docker/compose/master)](https://jenkins.dockerproject.org/job/docker/job/compose/job/master/)
58
59Want to help build Compose? Check out our [contributing documentation](https://github.com/docker/compose/blob/master/CONTRIBUTING.md).
60
61Releasing
62---------
63
64Releases are built by maintainers, following an outline of the [release process](https://github.com/docker/compose/blob/master/project/RELEASE-PROCESS.md).
65