Last active
September 23, 2015 01:35
-
-
Save joshfriend/99b3db1887ce406c0a47 to your computer and use it in GitHub Desktop.
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
api: | |
restart: always | |
build: . | |
volumes: | |
- ./:/app/ | |
working_dir: /app/ | |
links: | |
- postgresql:postgresql | |
- rabbitmq:rabbitmq | |
expose: | |
- "5000" | |
command: make run | |
postgresql: | |
restart: always | |
image: sameersbn/postgresql:9.4-4 | |
environment: | |
- DB_USER=example | |
- DB_PASS=example | |
- DB_NAME=example | |
volumes_from: | |
- data | |
ports: | |
- "5432:5432" | |
rabbitmq: | |
restart: always | |
image: rabbitmq | |
volumes_from: | |
- data | |
ports: | |
- "5672:5672" | |
data: | |
restart: always | |
image: postgres | |
image: rabbitmq | |
volumes: | |
- /var/lib/postgresql | |
- /var/lib/rabbitmq | |
command: "true" |
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.10 | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update | |
RUN apt-get install -y --no-install-recommends make git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment