Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@eggie5
Created November 2, 2016 23:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eggie5/2291ba0a492725d6c535d044e52323fa to your computer and use it in GitHub Desktop.
Save eggie5/2291ba0a492725d6c535d044e52323fa to your computer and use it in GitHub Desktop.
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