Skip to content

Instantly share code, notes, and snippets.

@simonedeponti
Created January 7, 2015 11:18
Show Gist options
  • Save simonedeponti/3b8c27ac10540f75ce54 to your computer and use it in GitHub Desktop.
Save simonedeponti/3b8c27ac10540f75ce54 to your computer and use it in GitHub Desktop.
Fig example setup
FROM python:2.7-wheezy
RUN mkdir /buildout
ADD . /buildout
WORKDIR /buildout
RUN python bootstrap.py
RUN bin/buildout
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