Advertisement
Guest User

Untitled

a guest
Sep 12th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. postgres:
  2. image: 'postgres:latest'
  3. environment:
  4. - POSTGRES_USER=blog
  5. - POSTGRES_PASSWORD=blog123
  6.  
  7. redis:
  8. restart: always
  9. labels:
  10. io.rancher.scheduler.affinity:host_label: rediscluster=true
  11. io.rancher.scheduler.affinity:container_label_soft_ne: pptqueuenew=true
  12. io.rancher.container.pull_image: always
  13. tty: true
  14. image: redis:3
  15. stdin_open: true
  16.  
  17. web:
  18. image: 'lucacri/laravelcaddy'
  19. restart: always
  20. links:
  21. - postgres:postgres
  22. - redis:redis
  23. - beanstalk:queue
  24. environment:
  25. - APP_DEBUG=true
  26. - DB_HOST=postgres
  27. - QUEUE_DRIVER=redis
  28. - DB_DATABASE=blog
  29. - DB_USERNAME=blog
  30. - DB_PASSWORD=blog123
  31. - USERMOD="1000 www-data"
  32. ports:
  33. - '80:80'
  34. volumes:
  35. - ./:/var/www
  36.  
  37.  
  38. beanstalk:
  39. image: 'schickling/beanstalkd:latest'
  40. restart: always
  41. labels:
  42. io.rancher.scheduler.affinity:host_label: beanstalk=true
  43. io.rancher.scheduler.affinity:container_label_soft_ne: pptqueuenew=true
  44. tty: true
  45. stdin_open: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement