Created
May 5, 2016 16:46
-
-
Save ncherro/3d46821c63ab3c9514b62fe71a99735d to your computer and use it in GitHub Desktop.
This file contains 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
version: '2' | |
services: | |
db: | |
image: postgres:latest | |
cache: | |
image: memcached:latest | |
elasticsearch: | |
image: elasticsearch:latest | |
command: elasticsearch -Des.network.host=0.0.0.0 | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
dev: | |
build: . | |
command: bundle exec rails s -p 3000 -b '0.0.0.0' | |
ports: | |
- "3000:3000" | |
links: | |
- db | |
- elasticsearch | |
- cache | |
env_file: .env | |
volumes: | |
- .:/app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment