Нема описа

Aanand Prasad bc2f6044fd Merge pull request #880 from dnephin/use_latest_docker_py пре 11 година
bin 620e29b63f Rename binary to docker-compose and config file to docker-compose.yml пре 11 година
compose 43fdae8bc6 Ship 1.1.0-rc1 пре 11 година
contrib f1e4fb7736 Rebrand bash completion script пре 11 година
docs 28fa49e569 Merge pull request #810 from madwire/patch-1 пре 11 година
script 16d6018419 Fix typos пре 11 година
tests 620e29b63f Rename binary to docker-compose and config file to docker-compose.yml пре 11 година
.dockerignore e66c0452d5 Add .dockerignore пре 11 година
.gitignore 620e29b63f Rename binary to docker-compose and config file to docker-compose.yml пре 11 година
CHANGES.md 43fdae8bc6 Ship 1.1.0-rc1 пре 11 година
CONTRIBUTING.md c981ce929a Update README.md, ROADMAP.md and CONTRIBUTING.md пре 11 година
Dockerfile 620e29b63f Rename binary to docker-compose and config file to docker-compose.yml пре 11 година
LICENSE 99064d17dd Docker, Inc. пре 11 година
MAINTAINERS 06a1b32c12 Make @dnephin a maintainer пре 11 година
MANIFEST.in 0150b38b8f Add tests to sdist. пре 11 година
README.md c981ce929a Update README.md, ROADMAP.md and CONTRIBUTING.md пре 11 година
ROADMAP.md c981ce929a Update README.md, ROADMAP.md and CONTRIBUTING.md пре 11 година
requirements-dev.txt 7fd37c89b9 Remove fig.packages replace with real deps. пре 11 година
requirements.txt 0bc4a28dcc Use latest docker-py. пре 11 година
setup.py 0bc4a28dcc Use latest docker-py. пре 11 година
tox.ini 3c0f297ba6 Some minor cleanup from yelp/fig пре 11 година
wercker.yml b4fbab4b56 Run pyinstaller build as normal user пре 11 година

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.