Define and run multi-container applications with Docker
Go to file
Daniel Nephin 192fce9153 Resolves #43 - sort containers in ps output by name, so services are grouped together.
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2014-09-14 16:06:23 -04:00
bin
docs Merge pull request #411 from Banno/fig-pull 2014-09-10 23:57:20 +01:00
fig Resolves #43 - sort containers in ps output by name, so services are grouped together. 2014-09-14 16:06:23 -04:00
script Remove fig.packages replace with real deps. 2014-09-05 11:44:49 -07:00
tests Merge pull request #411 from Banno/fig-pull 2014-09-10 23:57:20 +01:00
.gitignore
.travis.yml Remove fig.packages replace with real deps. 2014-09-05 11:44: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 Remove fig.packages replace with real deps. 2014-09-05 11:44:49 -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
README.md Merge pull request #392 from bfirsh/more-official-images 2014-08-07 16:42:36 -07:00
requirements-dev.txt Remove fig.packages replace with real deps. 2014-09-05 11:44:49 -07:00
requirements.txt Upgrade to docker-py 0.5.0 2014-09-08 09:23:01 -07:00
setup.py Upgrade to docker-py 0.5.0 2014-09-08 09:23:01 -07:00
tox.ini Remove fig.packages replace with real deps. 2014-09-05 11:44:49 -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.