Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Update the hostname to the local development environment hostname.
- vagrant_hostname: local.mysite.com
- vagrant_machine_name: mysite
- # Set the IP address so it doesn't conflict with other Drupal VM instances.
- vagrant_ip: 0.0.0.0
- # Use Ubuntu 16.04 LTS to match Acquia Cloud environments.
- vagrant_box: geerlingguy/ubuntu1604
- # Set drupal_site_name to the project's human-readable name.
- drupal_site_name: "My Site"
- # Provide the path to the project root to Vagrant.
- vagrant_synced_folders:
- # Set the local_path for the first synced folder to `.`.
- - local_path: .
- # Set the destination to the Acquia Cloud subscription machine name.
- destination: /var/www/mysite
- type: nfs
- drupal_build_composer_project: false
- # Toggling this to `true` would invoke `composer install` with the
- # projects own `composer.json` successfully.
- drupal_build_composer: false
- drupal_composer_path: false
- drupal_composer_install_dir: "/var/www/mysite"
- drupal_core_path: "/var/www/mysite/docroot"
- ssh_home: /var/www/mysite
- drupal_db_user: drupal
- drupal_db_password: drupal
- drupal_db_name: drupal
- # Set this to 'false' if you don't need to install drupal (using the drupal_*
- # settings below), but instead copy down a database (e.g. using drush sql-sync).
- drupal_install_site: false
- # Drupal VM automatically creates a drush alias file in your ~/.drush folder if
- # this variable is 'true'.
- configure_drush_aliases: false
- # This is required for front-end building tools.
- nodejs_version: "9.x"
- nodejs_npm_global_packages:
- - name: bower
- - name: gulp-cli
- - name: yarn
- nodejs_install_npm_user: "{{ drupalvm_user }}"
- npm_config_prefix: "/home/{{ drupalvm_user }}/.npm-global"
- installed_extras:
- #- adminer
- - drupalconsole
- - drush
- - mailhog
- - memcached
- - nodejs
- #- solr
- #- selenium
- - xdebug
- # PHP 5.6 (PHP 7.1 is being tested, see: https://docs.acquia.com/node/25726).
- php_version: "7.1"
- php_install_recommends: no
- php_memory_limit: "256M"
- php_display_errors: "On"
- php_display_startup_errors: "On"
- php_realpath_cache_size: "1024K"
- php_sendmail_path: "/opt/mailhog/mhsendmail"
- php_opcache_enabled_in_ini: true
- php_opcache_memory_consumption: "192"
- php_opcache_max_accelerated_files: 4096
- php_max_input_vars: "4000"
- php_packages_extra:
- - "php{{ php_version }}-bz2"
- - "php{{ php_version }}-imagick"
- - imagemagick
- # XDebug configuration.
- # Change this value to 1 in order to enable xdebug by default.
- php_xdebug_default_enable: 1
- php_xdebug_coverage_enable: 0
- # Change this value to 1 in order to enable xdebug on the cli.
- php_xdebug_cli_enable: 0
- php_xdebug_remote_enable: 1
- php_xdebug_remote_connect_back: 1
- # Use PHPSTORM for PHPStorm, sublime.xdebug for Sublime Text.
- php_xdebug_idekey: PHPSTORM
- php_xdebug_max_nesting_level: 256
- php_xdebug_remote_port: "9000"
- post_provision_scripts:
- - "../../../acquia/blt/scripts/drupal-vm/post-provision.php"
Add Comment
Please, Sign In to add comment