Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. data:
  2. build: data
  3.  
  4. db:
  5. image: mysql:5.6
  6. volumes_from:
  7. - data
  8. volumes:
  9. - /home/user/dockerfiles/etc/mysql/conf.d:/etc/mysql/conf.d
  10. environment:
  11. - MYSQL_ROOT_PASSWORD=secret
  12. - MYSQL_USER=user
  13. - MYSQL_PASSWORD=password
  14. - MYSQL_DATABASE=db
  15. restart: always
  16.  
  17. wp:
  18. image: wordpress
  19. expose:
  20. - "80"
  21. environment:
  22. - WORDPRESS_DB_PASSWORD=password
  23. - VIRTUAL_HOST=some-host
  24. links:
  25. - db:mysql
  26. volumes:
  27. - /home/user/dockerfiles/wp-content:/var/www/html/wp-content
  28. restart: always
  29.  
  30.  
  31. c1:
  32. image: tutum/wordpress
  33. expose:
  34. - "80"
  35. environment:
  36. - VIRTUAL_HOST=c1
  37. restart: always
  38.  
  39. nginx-proxy:
  40. ports:
  41. - "80:80"
  42. volumes:
  43. - /var/run/docker.sock:/tmp/docker.sock:ro
  44. image: jwilder/nginx-proxy
  45. restart: always
  46.  
  47. google:
  48. image: joomla
  49. links:
  50. - db:mysql
  51. expose:
  52. - "80"
  53. environment:
  54. - VIRTUAL_HOST=google.com
  55.  
  56. pg:
  57. environment:
  58. - POSTGRES_PASSWORD=secret
  59. - POSTGRES_USER=redmine
  60. image: postgres
  61.  
  62.  
  63. cnn:
  64. image: redmine
  65. expose:
  66. - "3000"
  67. links:
  68. - pg:postgres
  69. environment:
  70. - VIRTUAL_HOST=cnn.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement