Nav apraksta

Aanand Prasad f43bfaadaa Clean up environment variable docs 11 gadi atpakaļ
bin 9550387e39 Add script to build an OS X binary 12 gadi atpakaļ
docs f43bfaadaa Clean up environment variable docs 11 gadi atpakaļ
fig d2385e3c2c Fix fig run entrypoint option 11 gadi atpakaļ
script b4fbab4b56 Run pyinstaller build as normal user 11 gadi atpakaļ
tests 431fdaa0f1 Merge pull request #490 from LuminosoInsight/insecure-pull 11 gadi atpakaļ
.gitignore 779f4bda01 Fix cli for python 2.6 11 gadi atpakaļ
CHANGES.md a6324d6226 Ship 0.5.2 11 gadi atpakaļ
CONTRIBUTING.md 6ab084a338 Merge pull request #390 from bfirsh/remove-integration-tests-from-ci 11 gadi atpakaļ
Dockerfile b4fbab4b56 Run pyinstaller build as normal user 11 gadi atpakaļ
LICENSE 99064d17dd Docker, Inc. 11 gadi atpakaļ
MAINTAINERS 8fa85ecc05 Add maintainers file 11 gadi atpakaļ
MANIFEST.in 229b59bd6e remove tests from distribution build 12 gadi atpakaļ
README.md 6b600faf0b Update wercker badge 11 gadi atpakaļ
requirements-dev.txt 7fd37c89b9 Remove fig.packages replace with real deps. 11 gadi atpakaļ
requirements.txt b0159e5100 Upgrade to docker-py 0.5.0 11 gadi atpakaļ
setup.py c270e9d622 Require docker-py 0.5 or later for insecure_registry kwarg 11 gadi atpakaļ
tox.ini 7fd37c89b9 Remove fig.packages replace with real deps. 11 gadi atpakaļ
wercker.yml b4fbab4b56 Run pyinstaller build as normal user 11 gadi atpakaļ

README.md

Fig

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 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.