Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- web:
- build: .
- command: rails server -p 3000 -b '0.0.0.0'
- volumes:
- - .:/app
- ports:
- - "3000:3000"
- links:
- - mysql
- - redis
- mysql:
- image: mysql
- volumes:
- - mysql_data:/var/lib/mysql
- environment:
- MYSQL_ROOT_PASSWORD: password
- MYSQL_DATABASE: apparel_development
- ports:
- - "3307:3306"
- redis:
- image: redis
- command: redis-server
- ports:
- - "6379:6379"
- volumes:
- - 'redis:/var/lib/redis/data'
- sidekiq:
- build: .
- command: bundle exec sidekiq
- volumes:
- - '.:/app'
- links:
- - mysql
- - redis
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement