|
|
10 gadi atpakaļ | |
|---|---|---|
| bin | 10 gadi atpakaļ | |
| compose | 10 gadi atpakaļ | |
| contrib | 10 gadi atpakaļ | |
| docs | 10 gadi atpakaļ | |
| experimental | 10 gadi atpakaļ | |
| project | 10 gadi atpakaļ | |
| script | 10 gadi atpakaļ | |
| tests | 10 gadi atpakaļ | |
| .dockerignore | 10 gadi atpakaļ | |
| .gitignore | 10 gadi atpakaļ | |
| .pre-commit-config.yaml | 10 gadi atpakaļ | |
| .travis.yml | 10 gadi atpakaļ | |
| CHANGELOG.md | 10 gadi atpakaļ | |
| CHANGES.md | 10 gadi atpakaļ | |
| CONTRIBUTING.md | 10 gadi atpakaļ | |
| Dockerfile | 10 gadi atpakaļ | |
| Dockerfile.run | 10 gadi atpakaļ | |
| LICENSE | 11 gadi atpakaļ | |
| MAINTAINERS | 10 gadi atpakaļ | |
| MANIFEST.in | 10 gadi atpakaļ | |
| README.md | 10 gadi atpakaļ | |
| ROADMAP.md | 10 gadi atpakaļ | |
| SWARM.md | 10 gadi atpakaļ | |
| appveyor.yml | 10 gadi atpakaļ | |
| docker-compose.spec | 10 gadi atpakaļ | |
| logo.png | 10 gadi atpakaļ | |
| requirements-build.txt | 10 gadi atpakaļ | |
| requirements-dev.txt | 10 gadi atpakaļ | |
| requirements.txt | 10 gadi atpakaļ | |
| setup.py | 10 gadi atpakaļ | |
| tox.ini | 10 gadi atpakaļ |
(Previously known as Fig)
Compose is a tool for defining and running multi-container applications with Docker. With Compose, you define a multi-container application in a single file, then spin your application up in a single command which does everything that needs to be done to get it running.
Compose is great for development environments, staging servers, and CI. We don't recommend that you use it in production yet.
Using Compose is basically a three-step process.
Dockerfile so it can be
reproduced anywhere.docker-compose.yml so
they can be run together in an isolated environment:docker-compose up and Compose will start and run your entire app.A docker-compose.yml looks like this:
web:
build: .
ports:
- "5000:5000"
volumes:
- .:/code
links:
- redis
redis:
image: redis
Compose has commands for managing the whole lifecycle of your application:
Want to help build Compose? Check out our contributing documentation.
Releases are built by maintainers, following an outline of the release process.