Без опису

Ben Firshman 92ae5af019 Merge pull request #501 from aanand/fix-build-error 11 роки тому
bin 9550387e39 Add script to build an OS X binary 11 роки тому
docs 35b217a0a4 Fix the broken URL 11 роки тому
fig 5d76d183b4 Merge pull request #483 from dnephin/sort_containers_by_name_in_ps 11 роки тому
script 7fd37c89b9 Remove fig.packages replace with real deps. 11 роки тому
tests 537d435a28 Fix race condition in cli_test.py 11 роки тому
.gitignore 779f4bda01 Fix cli for python 2.6 11 роки тому
.travis.yml 7fd37c89b9 Remove fig.packages replace with real deps. 11 роки тому
CHANGES.md a6324d6226 Ship 0.5.2 11 роки тому
CONTRIBUTING.md 6ab084a338 Merge pull request #390 from bfirsh/remove-integration-tests-from-ci 11 роки тому
Dockerfile 7a8f5e10fd Add wercker.yml 11 роки тому
LICENSE 99064d17dd Docker, Inc. 11 роки тому
MAINTAINERS 8fa85ecc05 Add maintainers file 11 роки тому
MANIFEST.in 229b59bd6e remove tests from distribution build 11 роки тому
README.md 3535270ef0 Add wercker badge to readme 11 роки тому
requirements-dev.txt 7fd37c89b9 Remove fig.packages replace with real deps. 11 роки тому
requirements.txt b0159e5100 Upgrade to docker-py 0.5.0 11 роки тому
setup.py b0159e5100 Upgrade to docker-py 0.5.0 11 роки тому
tox.ini 7fd37c89b9 Remove fig.packages replace with real deps. 11 роки тому
wercker.yml 7a8f5e10fd Add wercker.yml 11 роки тому

README.md

Fig

wercker status

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.