Define and run multi-container applications with Docker
Go to file
Alex Brandt 3965db9dff Exclude tests package from installation.
Installing the top-level tests package is asking for conflicts with
other python packages and isn't required to run fig.  This simply lets
find_packages know to ignore tests and any sub-packages.
2014-08-11 09:00:16 -05:00
bin Add script to build an OS X binary 2014-03-03 15:09:56 +00:00
docs Merge pull request #392 from bfirsh/more-official-images 2014-08-07 16:42:36 -07:00
fig Resolves #369, add verbose output on --verbose flag 2014-08-09 21:05:54 -04:00
script Update repository URL 2014-08-07 14:42:49 -07:00
tests Resolves #369, add verbose output on --verbose flag 2014-08-09 21:05:54 -04:00
.gitignore Fix cli for python 2.6 2014-07-15 13:07:46 -07:00
.travis.yml Upload PyPi package manually 2014-08-07 14:36:49 -07:00
CHANGES.md Ship 0.5.2 2014-07-28 13:17:08 -07:00
CONTRIBUTING.md Merge pull request #390 from bfirsh/remove-integration-tests-from-ci 2014-08-08 08:37:12 +10:00
Dockerfile Don't use deprecated orchardup/python image 2014-08-07 16:43:59 -07:00
LICENSE Docker, Inc. 2014-07-24 10:24:17 -07: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 Merge pull request #392 from bfirsh/more-official-images 2014-08-07 16:42:36 -07:00
requirements-dev.txt Add flake8 and fix errors. 2014-07-27 08:51:17 -07:00
requirements.txt Update dockerpty -> 0.2.3 2014-07-29 01:17:28 +00:00
setup.py Exclude tests package from installation. 2014-08-11 09:00:16 -05:00
tox.ini Add flake8 and fix errors. 2014-07-27 08:51:17 -07: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 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.