Sen descrición

Daniel Nephin 71e7103662 Fix some tests failing with docker 1.1.2 and add a comment to recreate_container() explaining what it does. %!s(int64=11) %!d(string=hai) anos
bin 9550387e39 Add script to build an OS X binary %!s(int64=11) %!d(string=hai) anos
docs c48ee5caef Add a new fig command for retrieving the locally bound port of a service. %!s(int64=11) %!d(string=hai) anos
fig 71e7103662 Fix some tests failing with docker 1.1.2 and add a comment to recreate_container() explaining what it does. %!s(int64=11) %!d(string=hai) anos
script 7fd37c89b9 Remove fig.packages replace with real deps. %!s(int64=11) %!d(string=hai) anos
tests 71e7103662 Fix some tests failing with docker 1.1.2 and add a comment to recreate_container() explaining what it does. %!s(int64=11) %!d(string=hai) anos
.gitignore 779f4bda01 Fix cli for python 2.6 %!s(int64=11) %!d(string=hai) anos
.travis.yml 7fd37c89b9 Remove fig.packages replace with real deps. %!s(int64=11) %!d(string=hai) anos
CHANGES.md a6324d6226 Ship 0.5.2 %!s(int64=11) %!d(string=hai) anos
CONTRIBUTING.md 6ab084a338 Merge pull request #390 from bfirsh/remove-integration-tests-from-ci %!s(int64=11) %!d(string=hai) anos
Dockerfile 7fd37c89b9 Remove fig.packages replace with real deps. %!s(int64=11) %!d(string=hai) anos
LICENSE 99064d17dd Docker, Inc. %!s(int64=11) %!d(string=hai) anos
MAINTAINERS 8fa85ecc05 Add maintainers file %!s(int64=11) %!d(string=hai) anos
MANIFEST.in 229b59bd6e remove tests from distribution build %!s(int64=11) %!d(string=hai) anos
README.md a39460d7b2 Merge pull request #392 from bfirsh/more-official-images %!s(int64=11) %!d(string=hai) anos
requirements-dev.txt 7fd37c89b9 Remove fig.packages replace with real deps. %!s(int64=11) %!d(string=hai) anos
requirements.txt b0159e5100 Upgrade to docker-py 0.5.0 %!s(int64=11) %!d(string=hai) anos
setup.py b0159e5100 Upgrade to docker-py 0.5.0 %!s(int64=11) %!d(string=hai) anos
tox.ini 7fd37c89b9 Remove fig.packages replace with real deps. %!s(int64=11) %!d(string=hai) anos

README.md

Fig

Build Status PyPI version

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 fig up, and Fig will start and run your entire app:

example fig run

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.