Няма описание

Aanand Prasad 8eee2bf913 Merge pull request #396 from dnephin/remove_extra_calls преди 11 години
bin 9550387e39 Add script to build an OS X binary преди 11 години
docs a39460d7b2 Merge pull request #392 from bfirsh/more-official-images преди 11 години
fig 294453433d Remove extra calls to docker server. преди 11 години
script fc3c12ad90 Update repository URL преди 11 години
tests 294453433d Remove extra calls to docker server. преди 11 години
.gitignore 779f4bda01 Fix cli for python 2.6 преди 11 години
.travis.yml bbcbe9df9f Upload PyPi package manually преди 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 3fc7ad3291 Don't use deprecated orchardup/python image преди 11 години
LICENSE 99064d17dd Docker, Inc. преди 11 години
MAINTAINERS 8fa85ecc05 Add maintainers file преди 11 години
MANIFEST.in 229b59bd6e remove tests from distribution build преди 11 години
README.md a39460d7b2 Merge pull request #392 from bfirsh/more-official-images преди 11 години
requirements-dev.txt 50a24bc3bf Add flake8 and fix errors. преди 11 години
requirements.txt 847ec5b559 Update dockerpty -> 0.2.3 преди 11 години
setup.py c0450f7df0 Resolves #366, non-pinned versions in setup.py:install_requires преди 11 години
tox.ini 50a24bc3bf Add flake8 and fix errors. преди 11 години

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.