Advertisement
Guest User

Untitled

a guest
Jul 5th, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. data:
  2. container_name: mcollective_data
  3. image: busybox
  4. volumes:
  5. - ../../:/var/www/mcollective
  6. - /tmpfs
  7.  
  8. nginx:
  9. container_name: mcollective_nginx
  10. image: nginx
  11. links:
  12. - php
  13. volumes_from:
  14. - data
  15. volumes:
  16. - ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
  17. - ./nginx/fastcgi_params:/etc/nginx/fastcgi_params:ro
  18. #entrypoint:
  19. # - "nginx-debug"
  20. # - "-g"
  21. # - "daemon off;"
  22.  
  23. mysql:
  24. container_name: mcollective_mysql
  25. image: mariadb
  26. environment:
  27. MYSQL_ROOT_PASSWORD: root
  28.  
  29. php:
  30. container_name: mcollective_php
  31. #build: php
  32. image: xantrix/php7-fpm
  33. working_dir: /var/www/mcollective
  34. volumes_from:
  35. - data
  36. volumes:
  37. - ./php/php.ini:/usr/local/etc/php/conf.d/php.ini:ro
  38. - ./php/zz-docker.conf:/usr/local/etc/php-fpm.d/zz-docker.conf:ro
  39. links:
  40. - mysql
  41. - memcached
  42. # mem_limit: 2000000000
  43. environment:
  44. #PHP_IDE_CONFIG: serverName=mcollective.dev
  45. TERM: xterm
  46. DB_SERVER: mysql
  47. DB_USER: root
  48. DB_PASSWD: root
  49. DB_NAME_BLOG: wordpress
  50. DB_NAME_ECOMMERCE: prestashop
  51. AWS_ACCESS_KEY_ID: $KEY
  52. AWS_SECRET_ACCESS_KEY: $SECRET
  53. MEDIA_SERVER: static.shop.mcollective.dev
  54. STATIC_S3_BUCKET: shop.static.mcollective.dev
  55. HOME_BLOG: http://mcollective.madfarm.it/
  56. HOME_SHOP: http://shop.mcollective.dev/
  57.  
  58. memcached:
  59. container_name: mcollective_memcached
  60. image: memcached
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement