Advertisement
Guest User

Untitled

a guest
Feb 9th, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. version: "2"
  2.  
  3. services:
  4. mariadb:
  5. image: wodby/drupal-mariadb
  6. environment:
  7. MYSQL_RANDOM_ROOT_PASSWORD: 1
  8. MYSQL_DATABASE: drupal
  9. MYSQL_USER: drupal
  10. MYSQL_PASSWORD: drupal
  11. # command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci # The simple way to override the mariadb config.
  12. volumes:
  13. - mysql-data:/var/lib/mysql
  14. - ./db:/docker-entrypoint-initdb.d # Place init .sql file(s) here.
  15.  
  16. php:
  17. image: wodby/drupal-php:7.0-1.0.0 # Allowed: 7.0, 5.6. Specify build number to ensure each team member is using the same version of the container.
  18. environment:
  19. PHP_SITE_NAME: dev
  20. PHP_HOST_NAME: localhost:8000
  21. PHP_DOCROOT: web # Relative path inside the /var/www/html/ directory.
  22. PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S mailhog:1025
  23. PHP_XDEBUG_ENABLED: 1
  24. # PHP_XDEBUG_AUTOSTART: 1
  25. PHP_XDEBUG_REMOTE_CONNECT_BACK: 0 # This is needed to respect remote.host setting bellow
  26. PHP_XDEBUG_REMOTE_HOST: "10.254.254.254" # You will also need to 'sudo ifconfig lo0 alias 10.254.254.254'
  27. volumes:
  28. - ./:/var/www/html
  29.  
  30. nginx:
  31. image: wodby/drupal-nginx
  32. environment:
  33. NGINX_SERVER_NAME: localhost
  34. NGINX_UPSTREAM_NAME: php
  35. NGINX_DOCROOT: web # Relative path inside the /var/www/html/ directory.
  36. DRUPAL_VERSION: 8 # Allowed: 7, 8.
  37. volumes_from:
  38. - php
  39. ports:
  40. - "80:80"
  41.  
  42. mailhog:
  43. image: mailhog/mailhog
  44. ports:
  45. - "8002:8025"
  46.  
  47. selenium:
  48. container_name: selenium
  49. image: selenium/standalone-firefox:2.53.1
  50.  
  51. node-php-composer:
  52. image: savaslabs/node-php-composer:1.2
  53. ports:
  54. - "3050:3050"
  55. - "3001:3001"
  56. volumes_from:
  57. - php
  58.  
  59. volumes:
  60. mysql-data:
  61. driver: local
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement