Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- web:
- build: .
- command: bundle exec rails s -p 3000 -b '0.0.0.0'
- volumes:
- - .:/myapp
- ports:
- - "3000:3000"
- depends_on:
- - redis
- - db
- env_file:
- - myapp.env
- redis:
- image: redis
- sidekiq:
- build: .
- command: bundle exec sidekiq
- depends_on:
- - redis
- env_file:
- - myapp.env
- db:
- image: mysql
- ports:
- - "3306:3306"
- environment:
- MYSQL_ROOT_PASSWORD: xxx
- MYSQL_USER: xxx
Add Comment
Please, Sign In to add comment