Skip to content

Instantly share code, notes, and snippets.

@mglaman
Created April 19, 2017 13:31
Show Gist options
  • Save mglaman/1f980989884ef79e6a41087c3b4731b5 to your computer and use it in GitHub Desktop.
Save mglaman/1f980989884ef79e6a41087c3b4731b5 to your computer and use it in GitHub Desktop.
DrupalVM where update tasks fail.
---
extra_packages:
- sqlite
- php-bcmath
# Composer project settings.
drupal_build_composer_project: false
drupal_build_composer: false
drupal_composer_dependencies: []
drupal_site_name: "Lean Commerce Reports"
drupal_core_path: "/var/www/drupal/web"
drupal_install_site: false
drupal_domain: "reports.leancom.cloud"
vagrant_hostname: "{{ drupal_domain }}"
drupalvm_cron_jobs:
- name: "Drupal cron"
minute: "*/15"
job: "{{ drush_path }} -r {{ drupal_core_path }} core-cron"
php_version: "7.1"
php_sendmail_path: "/usr/sbin/sendmail -t -i"
installed_extras:
- drush
- varnish
# Other secure defaults.
dashboard_install_dir: ''
apache_packages_state: installed
# Restrict the firewall to only ports that are required for external services.
firewall_allowed_tcp_ports:
- "22"
- "80"
- "443"
firewall_log_dropped_packets: true
# Set Apache to listen on port 81 (internal only), and Varnish on 80.
apache_listen_port: "81"
varnish_listen_port: "80"
varnish_default_backend_port: "81"
# BigPipe
php_output_buffering: "Off"
apache_vhosts:
- servername: "{{ drupal_domain }}"
documentroot: "{{ drupal_core_path }}"
extra_parameters: "{{ apache_vhost_php_fpm_parameters }}"
mysql_databases:
- name: reports
encoding: utf8
collation: utf8_general_ci
mysql_users:
- name: reports
host: "%"
password: reports
priv: "reports.*:ALL"
drupal_deploy: true
drupal_deploy_repo: "[email protected]:leancommerce/dashboard.git"
drupal_deploy_dir: "/var/www/drupal"
vagrant_hostname: reports.leancom.dev
vagrant_machine_name: reports-leancom
vagrant_ip: 192.168.88.22
vagrant_synced_folders:
- local_path: .
destination: /var/www/drupal
type: nfs
drupal_domain: "reports.leancom.dev"
drupal_account_pass: admin
drupal_db_password: drupal
mysql_root_password: root
php_sendmail_path: "/opt/mailhog/mhsendmail"
installed_extras:
- drush
- mailhog
- varnish
dashboard_install_dir: /var/www/dashboard
extra_security_enabled: false
firewall_allowed_tcp_ports:
- "22"
- "25"
- "80"
- "81"
- "443"
- "8025"
firewall_log_dropped_packets: false
apache_listen_port: "80"
varnish_listen_port: "81"
varnish_default_backend_port: "80"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment