forked from geerlingguy/drupal-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.config.yml
96 lines (83 loc) · 2.61 KB
/
example.config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
---
# Vagrant hostname and IP configuration.
vagrant_hostname: drupaltest.dev
vagrant_ip: 192.168.88.88
vagrant_user: vagrant
# A list of synced folders, with the keys 'local_path', 'destination', 'id', and
# a 'type' of [nfs|rsync|smb] (leave empty for slow native shares).
vagrant_synced_folders:
# The first synced folder will be used for the default Drupal installation, if
# build_from_makefile is 'true'.
- local_path: ~/Sites/drupalvm
destination: /var/www
id: drupal
type: nfs
create: true
# Memory and CPU to use for this VM.
vagrant_memory: 1024
vagrant_cpus: 2
# Set this to false if you are using a different site deployment strategy and
# would like to configure 'vagrant_synced_folders' and 'apache_vhosts' manually.
build_from_makefile: true
drush_makefile_path: /vagrant/drupal.make.yml
# Settings for building a Drupal site from a makefile (if 'build_from_makefile'
# is 'true').
drupal_major_version: 8
drupal_core_path: "/var/www/drupal"
drupal_domain: "drupaltest.dev"
drupal_site_name: "Drupal Test Site"
drupal_install_profile: standard
drupal_enable_modules: [ 'devel' ]
drupal_account_name: admin
drupal_account_pass: admin
drupal_mysql_user: drupal
drupal_mysql_password: drupal
# Apache VirtualHosts. Add one for each site you are running inside the VM. For
# multisite deployments, you can point multiple servernames at one documentroot.
apache_vhosts:
- {servername: "{{ drupal_domain }}", documentroot: "{{ drupal_core_path }}"}
- {servername: "local.xhprof.com", documentroot: "/usr/share/php/xhprof_html"}
# MySQL Databases and users. If build_from_makefile is true, first database will
# be used for the makefile-built site.
mysql_databases:
- name: drupal
encoding: utf8
collation: utf8_general_ci
mysql_users:
- name: drupal
host: "%"
password: drupal
priv: "drupal.*:ALL"
# Comment out any extra utilities you don't want to install.
installed_extras:
- mailhog
- memcached
- phpmyadmin
# - solr
- xdebug
- xhprof
# You can configure almost anything else on the server in the rest of this file.
mysql_root_password: root
drush_version: master
drush_keep_updated: yes
firewall_allowed_tcp_ports:
- "22"
- "25"
- "80"
- "443"
- "8025"
- "8080"
- "8443"
- "8983"
# PHP Configuration. Currently-supported versions: 5.5, 5.6, 7.0 (experimental).
php_version: "5.5"
php_memory_limit: "192M"
php_display_errors: "On"
php_realpath_cache_size: "1024K"
php_sendmail_path: "/usr/sbin/ssmtp -t"
# Disable main XDebug components unless needed.
php_xdebug_coverage_enable: 0
php_xdebug_default_enable: 0
solr_version: "4.10.4"
solr_xms: "64M"
solr_xmx: "128M"