Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- app:
- build:
- context: ./
- dockerfile: ./docker/images/app/development/Dockerfile
- ports:
- - '3000:3000'
- volumes:
- - ./:/var/www/thinknetica
- environment:
- - RAILS_ENV=development
- - RAILS_LOG_TO_STDOUT=true
- links:
- - db
- - redis
- - elasticsearch
- db:
- image: postgres:9.6
- environment:
- - POSTGRES_PASSWORD=123654
- - POSTGRES_USER=sitennov
- - POSTGRES_DB=sitennov_development
- volumes:
- - ~/volume/postgres-data:/var/lib/postgresql/data
- redis:
- image: redis
- sidekiq:
- build:
- context: ./
- dockerfile: ./docker/images/app/development/Dockerfile
- links:
- - db
- - redis
- command: bundle exec sidekiq -C config/sidekiq.yml
- elasticsearch:
- image: elasticsearch
- volumes:
- - ~/elasticsearch:/usr/share/elasticsearch/data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement