Advertisement
Guest User

Untitled

a guest
Sep 5th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. version: '3'
  2.  
  3. services:
  4. app:
  5. build:
  6. context: ./
  7. dockerfile: ./docker/images/app/development/Dockerfile
  8. ports:
  9. - '3000:3000'
  10. volumes:
  11. - ./:/var/www/thinknetica
  12. environment:
  13. - RAILS_ENV=development
  14. - RAILS_LOG_TO_STDOUT=true
  15. links:
  16. - db
  17. - redis
  18. - elasticsearch
  19.  
  20. db:
  21. image: postgres:9.6
  22. environment:
  23. - POSTGRES_PASSWORD=123654
  24. - POSTGRES_USER=sitennov
  25. - POSTGRES_DB=sitennov_development
  26. volumes:
  27. - ~/volume/postgres-data:/var/lib/postgresql/data
  28.  
  29. redis:
  30. image: redis
  31.  
  32. sidekiq:
  33. build:
  34. context: ./
  35. dockerfile: ./docker/images/app/development/Dockerfile
  36. links:
  37. - db
  38. - redis
  39. command: bundle exec sidekiq -C config/sidekiq.yml
  40.  
  41. elasticsearch:
  42. image: elasticsearch
  43. volumes:
  44. - ~/elasticsearch:/usr/share/elasticsearch/data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement