Sen descrición

Ben Firshman bb85e238e0 Add fig as entrypoint to Dockerfile %!s(int64=11) %!d(string=hai) anos
bin 9550387e39 Add script to build an OS X binary %!s(int64=12) %!d(string=hai) anos
docs 65ae22e79a Merge pull request #611 from raulcd/604_support_reloading_containers %!s(int64=11) %!d(string=hai) anos
fig 65ae22e79a Merge pull request #611 from raulcd/604_support_reloading_containers %!s(int64=11) %!d(string=hai) anos
script bb85e238e0 Add fig as entrypoint to Dockerfile %!s(int64=11) %!d(string=hai) anos
tests 65ae22e79a Merge pull request #611 from raulcd/604_support_reloading_containers %!s(int64=11) %!d(string=hai) anos
.dockerignore e66c0452d5 Add .dockerignore %!s(int64=11) %!d(string=hai) anos
.gitignore 779f4bda01 Fix cli for python 2.6 %!s(int64=11) %!d(string=hai) anos
CHANGES.md 46433c70b6 Ship 1.0.1 %!s(int64=11) %!d(string=hai) anos
CONTRIBUTING.md 899670fc6c Move building binaries instructions %!s(int64=11) %!d(string=hai) anos
Dockerfile bb85e238e0 Add fig as entrypoint to Dockerfile %!s(int64=11) %!d(string=hai) anos
LICENSE 99064d17dd Docker, Inc. %!s(int64=11) %!d(string=hai) anos
MAINTAINERS 06a1b32c12 Make @dnephin a maintainer %!s(int64=11) %!d(string=hai) anos
MANIFEST.in 229b59bd6e remove tests from distribution build %!s(int64=12) %!d(string=hai) anos
README.md 6b600faf0b Update wercker badge %!s(int64=11) %!d(string=hai) anos
requirements-dev.txt 7fd37c89b9 Remove fig.packages replace with real deps. %!s(int64=11) %!d(string=hai) anos
requirements.txt 38a3ee8d63 Use upstream dockerpty 0.3.2 %!s(int64=11) %!d(string=hai) anos
setup.py 38a3ee8d63 Use upstream dockerpty 0.3.2 %!s(int64=11) %!d(string=hai) anos
tox.ini 7544580b4b Resolves #553, Resolves #546 - bug fixes with unit tests %!s(int64=11) %!d(string=hai) anos
wercker.yml b4fbab4b56 Run pyinstaller build as normal user %!s(int64=11) %!d(string=hai) anos

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.