Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- db:
- image: postgres:9.5.1
- environment:
- POSTGRES_USER: "fopify"
- POSTGRES_PASSWORD: "Fopify*!"
- POSTGRES_DB: 'fopify'
- ports:
- - '5432:5432'
- redis:
- image: redis:3.2-alpine
- ports:
- - "6379:6379"
- web:
- extends:
- file: common_services.yml
- service: fopify
- command: bundle exec rails s -p 8000 -b0.0.0.0
- environment:
- REDIS_URL: 'redis://redis:6379/0'
- ports:
- - '8000:8000'
- depends_on:
- - db
- - redis
- worker:
- extends:
- file: common_services.yml
- service: fopify
- command: sidekiq -C config/sidekiq.yml
- environment:
- REDIS_URL: 'redis://redis:6379/0'
- volumes_from:
- - web
- depends_on:
- - web
- faye:
- extends:
- file: common_services.yml
- service: fopify
- command: bundle exec thin start -R faye.ru -e production -p 9292
- volumes_from:
- - web
- ports:
- - "9292:9292"
- depends_on:
- - web
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement