Advertisement
Guest User

Untitled

a guest
Oct 20th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. version: '2'
  2. services:
  3. web:
  4. image: nginx
  5. ports:
  6. - "80:80"
  7. volumes:
  8. #- ./public:/usr/share/nginx/html
  9. - ./nginx.conf:/etc/nginx/nginx.conf
  10. links:
  11. - pearlbee
  12. volumes_from:
  13. - pearlbee
  14. pearlbee:
  15. build: pearlbee
  16. command: carton exec starman bin/app.psgi
  17. ports:
  18. - "5000"
  19.  
  20. volumes:
  21. - ./config.yml:/config.yml
  22. environment:
  23. - MYSQL_PASSWORD=secret
  24.  
  25. depends_on:
  26. - mysql
  27. pearlbee2:
  28. build: pearlbee
  29. command: carton exec starman bin/app.psgi
  30. ports:
  31. - "5000"
  32.  
  33. volumes:
  34. - ./config.yml:/config.yml
  35. environment:
  36. - MYSQL_PASSWORD=secret
  37.  
  38. depends_on:
  39. - mysql
  40. mysql:
  41. image: mysql
  42. environment:
  43. - MYSQL_ROOT_PASSWORD=secret
  44. - MYSQL_USER=root
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement