Advertisement
Guest User

Untitled

a guest
Aug 31st, 2016
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. nginx:
  2. labels:
  3. io.rancher.container.pull_image: always
  4. image: nginx:1.9-alpine
  5. links:
  6. - 'cachet:'
  7. volumes:
  8. - cachetnginx:/etc/nginx/conf.d
  9. - cachetwww:/var/www
  10. volume_driver: convoy
  11. cachet:
  12. environment:
  13. DB_DRIVER: pgsql
  14. DB_HOST: postgres
  15. DB_DATABASE: postgres
  16. DB_USERNAME: postgres
  17. DB_PASSWORD: uptheyinyang
  18. labels:
  19. io.rancher.container.pull_image: always
  20. image: cachethq/docker:2.3.7
  21. links:
  22. - 'postgres:'
  23. volumes:
  24. - cachetwww:/var/www
  25. volume_driver: convoy
  26. lb:
  27. ports:
  28. - 8094:8000
  29. labels:
  30. io.rancher.loadbalancer.ssl.ports: '8094'
  31. io.rancher.scheduler.affinity:host_label: service=lb
  32. tty: true
  33. image: rancher/load-balancer-service
  34. links:
  35. - nginx:nginx
  36. stdin_open: true
  37. postgres:
  38. environment:
  39. POSTGRES_PASSWORD: uptheyingyang
  40. labels:
  41. io.rancher.container.pull_image: always
  42. image: postgres:9.4
  43. volumes:
  44. - cachetpgsql:/var/lib/postgresql/data
  45. volume_driver: convoy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement