Skip to content

Instantly share code, notes, and snippets.

@heddn
Created December 13, 2016 17:40
Show Gist options
  • Save heddn/afda7f0ecba603473834a43e2a1f5c41 to your computer and use it in GitHub Desktop.
Save heddn/afda7f0ecba603473834a43e2a1f5c41 to your computer and use it in GitHub Desktop.
owned by solr user
---
# If you need to run multiple instances of Drupal VM, set a unique hostname,
# machine name, and IP address for each instance.
vagrant_hostname: d8starter.dev
vagrant_machine_name: d8starter
# Set 'build_makefile' to 'false' and this to 'true' if you are using a
# composer based site deployment strategy.
build_composer: true
drupal_composer_path: "{{ config_dir }}/composer.json"
drupal_composer_install_dir: "/var/www/drupalvm"
drupal_composer_dependencies: []
# Set this to 'true' and 'build_makefile', 'build_composer' to 'false' if you
# are using Composer's create-project as a site deployment strategy.
build_composer_project: false
drupal_composer_project_package: "drupal-composer/drupal-project:8.x-dev"
drupal_composer_project_options: "--prefer-dist --stability dev --no-interaction -o"
# Settings for installing a Drupal site if 'install_site:' is 'true'.
drupal_major_version: 8
drupal_domain: "{{ vagrant_hostname }}"
drupal_site_name: Drupal
drupal_install_profile: "config_installer"
drupal_enable_modules: []
drupal_account_name: admin
drupal_account_pass: admin
# Cron jobs are added to the vagrant user's crontab. Keys include name
# (required), minute, hour, day, weekday, month, job (required), and state.
drupalvm_cron_jobs:
- {
name: "Drupal Cron",
minute: "*/30",
job: "drush -r {{ drupal_core_path }} core-cron"
}
# Comment out any extra utilities you don't want to install. If you don't want
# to install *any* extras, make set this value to an empty set, e.g. `[]`.
installed_extras:
- adminer
- blackfire
- drupalconsole
# - elasticsearch
# - java
- mailhog
# - memcached
# - newrelic
- nodejs
- pimpmylog
# - redis
# - ruby
# - selenium
- solr
- varnish
- xdebug
# - xhprof
drush_version: "8.x"
drush_keep_updated: true
drush_composer_cli_options: "--prefer-dist --no-interaction -o --no-dev"
# PHP Configuration. Currently-supported versions: 5.6, 7.0.
# To use 5.6, see: http://docs.drupalvm.com/en/latest/other/php-56/
php_date.timezone: "America/Chicago"
php_upload_max_filesize: "50M"
php_post_max_size: "50M"
php_output_buffering: "Off"
# Run specified scripts before or after VM is provisioned. Path is relative to
# the `provisioning/playbook.yml` file.
pre_provision_scripts: []
# MySQL Configuration.
mysql_max_allowed_packet: 512M
# Node.js configuration (if enabled above).
# Valid examples: "0.10", "0.12", "4.x", "5.x".
nodejs_version: "4.x"
# Required Drupal settings.
patternlab_path: "{{ drupal_composer_install_dir }}/patternlab"
apache_vhosts:
- servername: "patternlab.{{ vagrant_hostname }}"
documentroot: "{{ patternlab_path }}"
extra_parameters: |
ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000{{ patternlab_path }}"
nginx_hosts:
- server_name: "patternlab.{{ vagrant_hostname }}"
root: "{{ patternlab_path }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment