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