Define and run multi-container applications with Docker
Go to file
Ben Firshman 0e58c05361 Cache bust docs CSS 2014-01-27 20:36:57 +00:00
docs Cache bust docs CSS 2014-01-27 20:36:57 +00:00
fig Ship 0.1.4 2014-01-27 17:57:02 +00:00
script Just deploy the _site directory to gh-pages 2014-01-27 12:26:42 +00:00
tests Add link alias without project name 2014-01-27 15:32:16 +00: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.1.4 2014-01-27 17:57:02 +00:00
Dockerfile Add basic Dockerfile 2014-01-16 17:28:47 +00:00
LICENSE Add license 2013-12-09 12:01:44 +00:00
MANIFEST.in Add missing files to manifest 2014-01-16 18:21:56 +00:00
README.md Clarify services line in readme 2014-01-27 20:04:48 +00:00
requirements-dev.txt Only install unittest2 on Python 2.6 2014-01-27 16:20:45 +00:00
requirements.txt Move mock to dev requirements 2014-01-27 10:00:36 +00:00
setup.py Update homepage in setup.py 2014-01-27 18:42:00 +00:00
tox.ini Added tox file 2014-01-06 17:58:49 +00:00

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
RUN pip install -r requirements.txt
WORKDIR /code
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