Advertisement
Guest User

Untitled

a guest
Mar 7th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. version: "2"
  2.  
  3. services:
  4. mariadb:
  5. image: wodby/drupal-mariadb:1.0.0
  6. environment:
  7. MYSQL_RANDOM_ROOT_PASSWORD: 1
  8. MYSQL_DATABASE: drupal
  9. MYSQL_USER: drupal
  10. MYSQL_PASSWORD: drupal
  11. volumes:
  12. - ./mariadb-init:/docker-entrypoint-initdb.d
  13.  
  14. php:
  15. image: wodby/drupal-php:7.0-1.0.0
  16. environment:
  17. PHP_SITE_NAME: dev
  18. PHP_HOST_NAME: localhost:8000
  19. PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S mailhog:1025
  20. volumes:
  21. - ./sff:/var/www/html
  22.  
  23. nginx:
  24. image: wodby/drupal-nginx:1.10-1.1.0
  25. environment:
  26. NGINX_SERVER_NAME: localhost
  27. NGINX_UPSTREAM_NAME: php
  28. DRUPAL_VERSION: 8
  29. volumes_from:
  30. - php
  31. ports:
  32. - "8000:80"
  33.  
  34. pma:
  35. image: phpmyadmin/phpmyadmin
  36. environment:
  37. PMA_HOST: mariadb
  38. PMA_USER: drupal
  39. PMA_PASSWORD: drupal
  40. PHP_UPLOAD_MAX_FILESIZE: 1G
  41. PHP_MAX_INPUT_VARS: 1G
  42. ports:
  43. - "8001:80"
  44.  
  45. mailhog:
  46. image: mailhog/mailhog
  47. ports:
  48. - "8002:8025"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement