Guest User

Untitled

a guest
Apr 5th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. # Update the hostname to the local development environment hostname.
  2. vagrant_hostname: local.mysite.com
  3. vagrant_machine_name: mysite
  4.  
  5. # Set the IP address so it doesn't conflict with other Drupal VM instances.
  6. vagrant_ip: 0.0.0.0
  7.  
  8. # Use Ubuntu 16.04 LTS to match Acquia Cloud environments.
  9. vagrant_box: geerlingguy/ubuntu1604
  10.  
  11. # Set drupal_site_name to the project's human-readable name.
  12. drupal_site_name: "My Site"
  13.  
  14. # Provide the path to the project root to Vagrant.
  15. vagrant_synced_folders:
  16. # Set the local_path for the first synced folder to `.`.
  17. - local_path: .
  18. # Set the destination to the Acquia Cloud subscription machine name.
  19. destination: /var/www/mysite
  20. type: nfs
  21.  
  22. drupal_build_composer_project: false
  23. # Toggling this to `true` would invoke `composer install` with the
  24. # projects own `composer.json` successfully.
  25. drupal_build_composer: false
  26. drupal_composer_path: false
  27. drupal_composer_install_dir: "/var/www/mysite"
  28. drupal_core_path: "/var/www/mysite/docroot"
  29. ssh_home: /var/www/mysite
  30.  
  31. drupal_db_user: drupal
  32. drupal_db_password: drupal
  33. drupal_db_name: drupal
  34.  
  35. # Set this to 'false' if you don't need to install drupal (using the drupal_*
  36. # settings below), but instead copy down a database (e.g. using drush sql-sync).
  37. drupal_install_site: false
  38.  
  39. # Drupal VM automatically creates a drush alias file in your ~/.drush folder if
  40. # this variable is 'true'.
  41. configure_drush_aliases: false
  42.  
  43. # This is required for front-end building tools.
  44. nodejs_version: "9.x"
  45. nodejs_npm_global_packages:
  46. - name: bower
  47. - name: gulp-cli
  48. - name: yarn
  49. nodejs_install_npm_user: "{{ drupalvm_user }}"
  50. npm_config_prefix: "/home/{{ drupalvm_user }}/.npm-global"
  51. installed_extras:
  52. #- adminer
  53. - drupalconsole
  54. - drush
  55. - mailhog
  56. - memcached
  57. - nodejs
  58. #- solr
  59. #- selenium
  60. - xdebug
  61.  
  62. # PHP 5.6 (PHP 7.1 is being tested, see: https://docs.acquia.com/node/25726).
  63. php_version: "7.1"
  64. php_install_recommends: no
  65. php_memory_limit: "256M"
  66. php_display_errors: "On"
  67. php_display_startup_errors: "On"
  68. php_realpath_cache_size: "1024K"
  69. php_sendmail_path: "/opt/mailhog/mhsendmail"
  70. php_opcache_enabled_in_ini: true
  71. php_opcache_memory_consumption: "192"
  72. php_opcache_max_accelerated_files: 4096
  73. php_max_input_vars: "4000"
  74.  
  75. php_packages_extra:
  76. - "php{{ php_version }}-bz2"
  77. - "php{{ php_version }}-imagick"
  78. - imagemagick
  79.  
  80. # XDebug configuration.
  81. # Change this value to 1 in order to enable xdebug by default.
  82. php_xdebug_default_enable: 1
  83. php_xdebug_coverage_enable: 0
  84. # Change this value to 1 in order to enable xdebug on the cli.
  85. php_xdebug_cli_enable: 0
  86. php_xdebug_remote_enable: 1
  87. php_xdebug_remote_connect_back: 1
  88. # Use PHPSTORM for PHPStorm, sublime.xdebug for Sublime Text.
  89. php_xdebug_idekey: PHPSTORM
  90. php_xdebug_max_nesting_level: 256
  91. php_xdebug_remote_port: "9000"
  92.  
  93. post_provision_scripts:
  94. - "../../../acquia/blt/scripts/drupal-vm/post-provision.php"
Add Comment
Please, Sign In to add comment