Created
January 7, 2015 11:18
-
-
Save simonedeponti/3b8c27ac10540f75ce54 to your computer and use it in GitHub Desktop.
Fig example setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:2.7-wheezy | |
RUN mkdir /buildout | |
ADD . /buildout | |
WORKDIR /buildout | |
RUN python bootstrap.py | |
RUN bin/buildout |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
couchdb: | |
image: klaemo/couchdb:1.6.1 | |
ports: | |
- "5984:5984" | |
web: | |
build: . | |
command: bin/instance fg | |
volumes: | |
- "./src:/buildout/src" | |
working_dir: /buildout/ | |
links: | |
- couchdb | |
ports: | |
- "8080:8080" | |
privileged: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment