Sin descripción

Aanand Prasad 4869fed97f Merge pull request #835 from aanand/rebrand hace 10 años
bin 620e29b63f Rename binary to docker-compose and config file to docker-compose.yml hace 10 años
compose 16d6018419 Fix typos hace 10 años
contrib 69db596b5d Bash completion for fig command hace 11 años
docs 8297f55f2c Remove all website-related stuff from docs hace 10 años
script 16d6018419 Fix typos hace 10 años
tests 620e29b63f Rename binary to docker-compose and config file to docker-compose.yml hace 10 años
.dockerignore e66c0452d5 Add .dockerignore hace 11 años
.gitignore 620e29b63f Rename binary to docker-compose and config file to docker-compose.yml hace 10 años
CHANGES.md 46433c70b6 Ship 1.0.1 hace 11 años
CONTRIBUTING.md c981ce929a Update README.md, ROADMAP.md and CONTRIBUTING.md hace 10 años
Dockerfile 620e29b63f Rename binary to docker-compose and config file to docker-compose.yml hace 10 años
LICENSE 99064d17dd Docker, Inc. hace 11 años
MAINTAINERS 06a1b32c12 Make @dnephin a maintainer hace 11 años
MANIFEST.in 0150b38b8f Add tests to sdist. hace 11 años
README.md c981ce929a Update README.md, ROADMAP.md and CONTRIBUTING.md hace 10 años
ROADMAP.md c981ce929a Update README.md, ROADMAP.md and CONTRIBUTING.md hace 10 años
requirements-dev.txt 7fd37c89b9 Remove fig.packages replace with real deps. hace 11 años
requirements.txt 788741025e Upgrade to docker-py 0.6.0 hace 11 años
setup.py 620e29b63f Rename binary to docker-compose and config file to docker-compose.yml hace 10 años
tox.ini 3c0f297ba6 Some minor cleanup from yelp/fig hace 11 años
wercker.yml b4fbab4b56 Run pyinstaller build as normal user hace 11 años

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.