Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. version: "3"
  2. services:
  3. cron:
  4. image: fballiano/magento2-cron
  5. depends_on:
  6. - apache
  7. - varnish
  8. links:
  9. - db
  10. - cache
  11. - clusterdata
  12. - apache
  13. - varnish
  14. volumes:
  15. - ./magento2:/var/www/html
  16. - ./varnish.secret:/varnish.secret
  17. # Enable the next line if you want to add a custom php.ini
  18. - ./php.ini:/usr/local/etc/php/conf.d/999-customphp.ini
  19.  
  20. ssl:
  21. image: fballiano/nginx-ssl-for-magento2
  22. depends_on:
  23. - varnish
  24. links:
  25. - varnish
  26. ports:
  27. - "443:443"
  28. volumes:
  29. - ./ssl/default-fake.crt:/etc/nginx/ssl/default-fake.crt
  30. - ./ssl/default-fake.key:/etc/nginx/ssl/default-fake.key
  31. - ./nginx-default.conf:/etc/nginx/conf.d/nginx-default.conf
  32. - ./nginx.conf.sample:/etc/nginx/conf.d/nginx.conf.sample
  33.  
  34. varnish:
  35. image: fballiano/varnish
  36. ports:
  37. - "80:80"
  38. - "6082:6082"
  39. depends_on:
  40. - apache
  41. links:
  42. - apache
  43. volumes:
  44. - ./varnish.vcl:/etc/varnish/default.vcl
  45. - ./varnish.secret:/etc/varnish/secret
  46. environment:
  47. - CACHE_SIZE=256M
  48.  
  49. apache:
  50. image: fballiano/magento2-apache-php
  51. depends_on:
  52. - db
  53. - cache
  54. - clusterdata
  55. links:
  56. - db
  57. - cache
  58. - clusterdata
  59. volumes:
  60. - ./magento2:/var/www/html
  61. - ~/.composer/auth.json:/root/.composer/auth.json
  62. # Enable the next line if you want to add a custom php.ini
  63. - ./php.ini:/usr/local/etc/php/conf.d/999-customphp.ini
  64.  
  65. db:
  66. image: mariadb
  67. ports:
  68. - "3306:3306"
  69. volumes:
  70. - dbdata:/var/lib/mysql
  71. environment:
  72. - MYSQL_ROOT_PASSWORD=magento2
  73. - MYSQL_DATABASE=magento2
  74. - MYSQL_USER=magento2
  75. - MYSQL_PASSWORD=magento2
  76.  
  77. cache:
  78. image: fballiano/redis-volatile
  79.  
  80. clusterdata:
  81. image: fballiano/redis-volatile
  82.  
  83. volumes:
  84. dbdata:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement