Instantly share code, notes, and snippets.

Embed
What would you like to do?
version: '2'
services:
pg:
image: postgres:9.4
ports:
- "5432"
mysql:
image: postgres:9.4
ports:
- "5431"
redis:
image: redis
ports:
- "6379"
memcached:
image: postgres:9.4
ports:
- "5432"
manager:
build: manager
command: bundle exec foreman start
volumes:
- .:/app
- bundle:/bundle
ports:
- "3000:3000"
env:
- IMPORT ENV VARS
screener:
build: screener
command: bundle exec foreman start
volumes:
- .:/screener
- bundle:/bundle
ports:
- "3001:3001"
accounting:
build: accounting
command: bundle exec foreman start
volumes:
- .:/accounting
- bundle:/bundle
ports:
- "3003:3002"
mailer:
build: mailer
command: bundle exec foreman start
volumes:
- .:/mailer
- bundle:/bundle
ports:
- "3003:3003"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment