Define and run multi-container applications with Docker
Go to file
Ben Firshman 19c0c9bf06 Specify working docker-osx version in docs 2014-02-03 16:00:01 -08:00
docs Specify working docker-osx version in docs 2014-02-03 16:00:01 -08:00
fig Ship 0.2.0 2014-01-31 10:52:57 +00:00
script Add open-docs script 2014-01-28 10:13:15 +00:00
tests Merge pull request #67 from orchardup/link-services-to-themselves 2014-01-31 02:46:52 -08:00
.gitignore Move docs to master branch 2014-01-27 11:51:15 +00:00
.travis.yml Add Travis PyPi deployment 2014-01-16 18:51:50 +00:00
CHANGES.md Ship 0.2.0 2014-01-31 10:52:57 +00:00
Dockerfile
LICENSE
MANIFEST.in
README.md Fix ordering in dockerfile 2014-01-28 00:08:11 +00:00
requirements-dev.txt Only install unittest2 on Python 2.6 2014-01-27 16:20:45 +00:00
requirements.txt Update docker-py 2014-01-28 14:51:19 +00:00
setup.py Update homepage in setup.py 2014-01-27 18:42:00 +00:00
tox.ini

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 orchardup/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
db:
  image: orchardup/postgresql

(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

Fig is a project from Orchard. Follow us on Twitter to keep up to date with Fig and other Docker news.

Installation and documentation

Full documentation is available on Fig's website.

Running the test suite

$ script/test