Skip to content

Instantly share code, notes, and snippets.

@guiltry
Created June 7, 2015 17:05
Show Gist options
  • Save guiltry/00005e0ee937beb6324d to your computer and use it in GitHub Desktop.
Save guiltry/00005e0ee937beb6324d to your computer and use it in GitHub Desktop.
web:
build: .
command: bundle exec rails s
volumes:
- .:/myapp
ports:
- "3000:3000"
links:
- db
- redis
- elasticsearch
db:
image: mongo:2.6.10
ports:
- "27017:27017"
redis:
image: redis:2.8.21
ports:
- "6379:6379"
elasticsearch:
image: elasticsearch:1.5.2
ports:
- "9200:9200"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment