بدون توضیح

Aanand Prasad a2f3c0b5da Merge pull request #804 from bfirsh/roadmap-update 11 سال پیش
bin 9550387e39 Add script to build an OS X binary 12 سال پیش
docs 91c90a722a Added missing options 11 سال پیش
fig 3056ae4be3 Add a no-build option to fig up, to save time when services were already freshly built. 11 سال پیش
script c12d1d73f0 Remove containers in scripts 11 سال پیش
tests 3056ae4be3 Add a no-build option to fig up, to save time when services were already freshly built. 11 سال پیش
.dockerignore e66c0452d5 Add .dockerignore 11 سال پیش
.gitignore 779f4bda01 Fix cli for python 2.6 11 سال پیش
CHANGES.md 46433c70b6 Ship 1.0.1 11 سال پیش
CONTRIBUTING.md 899670fc6c Move building binaries instructions 11 سال پیش
Dockerfile bb85e238e0 Add fig as entrypoint to Dockerfile 11 سال پیش
LICENSE 99064d17dd Docker, Inc. 11 سال پیش
MAINTAINERS 06a1b32c12 Make @dnephin a maintainer 11 سال پیش
MANIFEST.in 0150b38b8f Add tests to sdist. 11 سال پیش
README.md 6b600faf0b Update wercker badge 11 سال پیش
ROADMAP.md b252300e94 Reorganised roadmap, adding high-level goals 11 سال پیش
requirements-dev.txt 7fd37c89b9 Remove fig.packages replace with real deps. 11 سال پیش
requirements.txt 788741025e Upgrade to docker-py 0.6.0 11 سال پیش
setup.py 788741025e Upgrade to docker-py 0.6.0 11 سال پیش
tox.ini 3c0f297ba6 Some minor cleanup from yelp/fig 11 سال پیش
wercker.yml b4fbab4b56 Run pyinstaller build as normal user 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.