Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- db:
- image: mysql:5.7
- restart: always
- environment:
- MYSQL_USER: root
- MYSQL_PASSWORD: ''
- MYSQL_DATABASE: 'noteapp_development'
- ports:
- - "3307:3306"
- app:
- build: .
- command: bundle exec rails s -p 3000 -b '0.0.0.0'
- volumes:
- - ".:/noteapp"
- ports:
- - "3001:3000"
- depends_on:
- - db
- links:
- - db
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement