Sen descrición

Ben Firshman 2eb20d89af Merge pull request #904 from fredlf/install-doc-revision %!s(int64=11) %!d(string=hai) anos
bin 620e29b63f Rename binary to docker-compose and config file to docker-compose.yml %!s(int64=11) %!d(string=hai) anos
compose c39a0b0a2d Update pep8, fix errors and freeze requirements-dev.txt %!s(int64=11) %!d(string=hai) anos
contrib d79dc85fa5 Merge pull request #887 from albers/multiple-configfiles %!s(int64=11) %!d(string=hai) anos
docs 2eb20d89af Merge pull request #904 from fredlf/install-doc-revision %!s(int64=11) %!d(string=hai) anos
script 16d6018419 Fix typos %!s(int64=11) %!d(string=hai) anos
tests bc1f6c97d8 Merge pull request #898 from aanand/support-fig-yml %!s(int64=11) %!d(string=hai) anos
.dockerignore e66c0452d5 Add .dockerignore %!s(int64=11) %!d(string=hai) anos
.gitignore 620e29b63f Rename binary to docker-compose and config file to docker-compose.yml %!s(int64=11) %!d(string=hai) anos
CHANGES.md 45b8d526ba Add missing cpu_shares option for rel. 1.1.0-rc1 %!s(int64=11) %!d(string=hai) anos
CONTRIBUTING.md 3146fe5e4b Tidy up contributing guidelines %!s(int64=11) %!d(string=hai) anos
Dockerfile 620e29b63f Rename binary to docker-compose and config file to docker-compose.yml %!s(int64=11) %!d(string=hai) anos
LICENSE 99064d17dd Docker, Inc. %!s(int64=11) %!d(string=hai) anos
MAINTAINERS 0a8f9abfae Remove @nathanleclaire as a maintainer %!s(int64=11) %!d(string=hai) anos
MANIFEST.in 0150b38b8f Add tests to sdist. %!s(int64=11) %!d(string=hai) anos
README.md c981ce929a Update README.md, ROADMAP.md and CONTRIBUTING.md %!s(int64=11) %!d(string=hai) anos
ROADMAP.md c981ce929a Update README.md, ROADMAP.md and CONTRIBUTING.md %!s(int64=11) %!d(string=hai) anos
requirements-dev.txt c39a0b0a2d Update pep8, fix errors and freeze requirements-dev.txt %!s(int64=11) %!d(string=hai) anos
requirements.txt 0bc4a28dcc Use latest docker-py. %!s(int64=11) %!d(string=hai) anos
setup.py 0bc4a28dcc Use latest docker-py. %!s(int64=11) %!d(string=hai) anos
tox.ini 3c0f297ba6 Some minor cleanup from yelp/fig %!s(int64=11) %!d(string=hai) anos
wercker.yml b4fbab4b56 Run pyinstaller build as normal user %!s(int64=11) %!d(string=hai) anos

README.md

Docker Compose

wercker status

Fast, isolated development environments using Docker.

Define your app's environment with Docker so it can be reproduced anywhere:

FROM python:2.7
ADD . /code
WORKDIR /code
RUN pip install -r requirements.txt
CMD python app.py

Define the services that make up your app so they can be run together in an isolated environment:

web:
  build: .
  links:
   - db
  ports:
   - "8000:8000"
   - "49100:22"
db:
  image: postgres

(No more installing Postgres on your laptop!)

Then type docker-compose up, and Compose will start and run your entire app.

There are commands to:

  • start, stop and rebuild services
  • view the status of running services
  • tail running services' log output
  • run a one-off command on a service

Installation and documentation

Full documentation is available on Fig's website.