Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- mysql:
- image: mysql
- volumes:
- - .mysql:/var/lib/mysql
- # - lowmem.cnf:/etc/mysql/conf.d/lowmem.cnf
- environment:
- MYSQL_DATABASE: bnsys_production
- MYSQL_USER: root
- MYSQL_PASSWORD:
- MYSQL_ALLOW_EMPTY_PASSWORD: 1
- redis:
- image: 'redis:3.2-alpine'
- command: redis-server --requirepass yourpassword
- ports:
- - '6379:6379'
- volumes:
- - 'redis:/data'
- website:
- depends_on:
- - 'mysql'
- - 'redis'
- build: .
- ports:
- - '3000:3000'
- volumes:
- - '.:/app'
- env_file:
- - '.env'
- # sidekiq:
- # depends_on:
- # - 'mysql'
- # - 'redis'
- # build: .
- # command: sidekiq -C config/sidekiq.yml.erb
- # volumes:
- # - '.:/app'
- # env_file:
- # - '.env'
- cable:
- depends_on:
- - 'redis'
- build: .
- command: puma -p 28080 cable/config.ru
- ports:
- - '28080:28080'
- volumes:
- - '.:/app'
- env_file:
- - '.env'
- volumes:
- redis:
- mysql:
Add Comment
Please, Sign In to add comment