Sem descrição

Daniel Nephin dbd723659b Add container.get() which removes the duplication of container.inspect() in every property, and provides a nicer interface for querying container data. há 11 anos atrás
bin 9550387e39 Add script to build an OS X binary há 12 anos atrás
docs c48ee5caef Add a new fig command for retrieving the locally bound port of a service. há 11 anos atrás
fig dbd723659b Add container.get() which removes the duplication of container.inspect() in every property, and provides a nicer interface for querying container data. há 11 anos atrás
script 7fd37c89b9 Remove fig.packages replace with real deps. há 11 anos atrás
tests dbd723659b Add container.get() which removes the duplication of container.inspect() in every property, and provides a nicer interface for querying container data. há 11 anos atrás
.gitignore 779f4bda01 Fix cli for python 2.6 há 11 anos atrás
.travis.yml 7fd37c89b9 Remove fig.packages replace with real deps. há 11 anos atrás
CHANGES.md a6324d6226 Ship 0.5.2 há 11 anos atrás
CONTRIBUTING.md 6ab084a338 Merge pull request #390 from bfirsh/remove-integration-tests-from-ci há 11 anos atrás
Dockerfile 7fd37c89b9 Remove fig.packages replace with real deps. há 11 anos atrás
LICENSE 99064d17dd Docker, Inc. há 11 anos atrás
MAINTAINERS 8fa85ecc05 Add maintainers file há 11 anos atrás
MANIFEST.in 229b59bd6e remove tests from distribution build há 12 anos atrás
README.md a39460d7b2 Merge pull request #392 from bfirsh/more-official-images há 11 anos atrás
requirements-dev.txt 7fd37c89b9 Remove fig.packages replace with real deps. há 11 anos atrás
requirements.txt b0159e5100 Upgrade to docker-py 0.5.0 há 11 anos atrás
setup.py b0159e5100 Upgrade to docker-py 0.5.0 há 11 anos atrás
tox.ini 7fd37c89b9 Remove fig.packages replace with real deps. há 11 anos atrás

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.