Skip to content

Instantly share code, notes, and snippets.

@gjackson12
Created November 23, 2015 15:35
Show Gist options
  • Select an option

  • Save gjackson12/9849933d8c30b29f2888 to your computer and use it in GitHub Desktop.

Select an option

Save gjackson12/9849933d8c30b29f2888 to your computer and use it in GitHub Desktop.
app:
build: .
command: bundle exec rails s -p 3000 --binding 0.0.0.0
environment:
DB_HOSTNAME: db
DB_PASSWORD: access
DB_USERNAME: admin
REDIS_URL: redis://redis:6379/0
links:
- db
- redis
- kafka
ports:
- "3000:3000"
volumes:
- .:/usr/src/app
db:
environment:
MYSQL_PASS: access
image: tutum/mysql:5.6
ports:
- "3306"
redis:
image: redis:latest
ports:
- "6379"
kafka:
image: spotify/kafka
ports:
- "2181:2181"
- "9092:9092"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment