Define and run multi-container applications with Docker
Go to file
Ben Firshman 8fa85ecc05 Add maintainers file
Docker style: https://github.com/dotcloud/docker/blob/master/hack/MAINTAINERS.md

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-07-17 18:20:53 -07:00
bin
docs Update install docs for 0.5.1 2014-07-14 16:01:41 -07:00
fig Ship 0.5.1 2014-07-14 13:36:32 -07:00
script Add fig.egg-info to clean script 2014-07-14 11:34:17 -07:00
tests Fix regression of default behaviour in Command.project_name 2014-07-14 11:32:10 -07:00
.gitignore
.travis.yml
CHANGES.md CHANGES.md credits for 0.5.1 2014-07-14 15:58:26 -07:00
CONTRIBUTING.md Document release process 2014-07-11 14:16:29 -07:00
Dockerfile
LICENSE
MAINTAINERS Add maintainers file 2014-07-17 18:20:53 -07:00
MANIFEST.in
README.md
requirements-dev.txt
requirements.txt Update dockerpty for non-TTY multiplexing. 2014-07-05 08:23:21 +00:00
setup.py
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"
   - "49100:22"
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, a Docker hosting service. 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.