Define and run multi-container applications with Docker
Go to file
Aanand Prasad 94887a28c7 Make sure we support explicit protocols in port bindings
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2014-07-24 11:48:29 -07:00
bin Add script to build an OS X binary 2014-03-03 15:09:56 +00:00
docs Document missing .yml options 2014-07-22 15:37:05 -07:00
fig Add `--no-cache` option to `fig build` (Closes #152) 2014-07-20 11:28:28 +08:00
script Add fig.egg-info to clean script 2014-07-14 11:34:17 -07:00
tests Make sure we support explicit protocols in port bindings 2014-07-24 11:48:29 -07:00
.gitignore Add /venv to .gitignore 2014-06-18 14:51:12 +01:00
.travis.yml Fix pull requests failing on travis 2014-05-05 10:50:10 +01:00
CHANGES.md CHANGES.md credits for 0.5.1 2014-07-14 15:58:26 -07:00
CONTRIBUTING.md Update URL in readme and setup.py 2014-07-21 16:22:03 -07:00
Dockerfile Remove entrypoint from dockerfile 2014-05-08 13:00:39 +01:00
LICENSE Switch to Apache License 2.0 2014-05-28 10:59:21 +01:00
MAINTAINERS Add maintainers file 2014-07-17 18:20:53 -07:00
MANIFEST.in remove tests from distribution build 2014-02-23 03:37:31 +01:00
README.md Update URL in readme and setup.py 2014-07-21 16:22:03 -07:00
requirements-dev.txt Use Orchard to run integration tests 2014-04-25 23:24:05 +01:00
requirements.txt Update dockerpty for non-TTY multiplexing. 2014-07-05 08:23:21 +00:00
setup.py Update URL in readme and setup.py 2014-07-21 16:22:03 -07: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
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.