/
example.config.yml
89 lines (82 loc) · 3.91 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
timezone: "America/Chicago"
# box name and url
box: "centos56"
box_url: "https://dl.dropbox.com/u/7196/vagrant/CentOS-56-x64-packages-puppet-2.6.10-chef-0.10.6.box"
# the main hostname of the vagrant box
hostname: "example.dev"
hostip: 192.168.33.10
webroot: "/var/www/example-site/example"
# themename is used to setup a grunt/compass build process
themename: "zen"
# drush alias - will be setup under the "vagrant" namespace
# i.e.: the example below would be accessible under "drush @vagrant.example st"
drushalias: "example"
# aliases you will want in the apache stanza
aliases:
- "www.example.dev"
# setup additional hosts that point to the same apache site
# used to configure a multi-language site build
languages:
- {"en": "www.example.dev"}
- {"de": "de.example.dev"}
- {"es": "es.example.dev"}
- {"fr": "fr.example.dev"}
- {"it": "it.example.dev"}
- {"ja": "ja.example.dev"}
- {"ko": "ko.example.dev"}
- {"pt-br": "pt-br.example.dev"}
- {"ru": "ru.example.dev"}
- {"zh-hans": "zh-hans.example.dev"}
# shares setup by vagrant
# at a minimum, it should point map your local copy of the site
# to the vagrant box document root of the site
# one of the vm items should match or be a parent of the folder
# setup as webroot above
shares:
- {local: "~/Sites/example-site", vm: "/var/www/example-site"}
# additional configuration for port forwarding
# normal access is done through manipulation of your local hosts file
# but this allows other clients to point to your IP address on the ports below
# and access services on your vagrant box
ports:
- {local: 4567, vm: 80}
# database configuration that will be used on the mysql server in the box
# also used on the settings file
database: {name: "example", user: "example", pass: "example", file: "example.sql"}
# non-destructively modify your local site's settings.php file
# everything below is undone when you halt or destroy your vagrant box
# this sets up several items that customize and optimize your drupal install
settingsphp:
- "$conf['cache_backends'][] = 'sites/all/modules/memcache/memcache.inc';"
- "$conf['cache_default_class'] = 'MemCacheDrupal';"
- "$conf['memcache_key_prefix'] = 'example.dev';"
- "$conf['cache_inc'] = 'sites/all/modules/contrib/memcache/memcache.db.inc';"
- "$conf['memcache_servers'] = array('localhost:11211' => 'default',);"
- "$conf['memcache_bins'] = array('cache' => 'default',);"
- "$conf['environment_indicator_text'] = 'DEV | USER';"
- "$conf['environment_indicator_color'] = 'dark-red';"
- "$conf['environment_indicator_enabled'] = TRUE;"
- "$conf['stage_file_proxy_origin'] = 'http://www.example.dev';"
- "$conf['stage_file_proxy_origin_dir'] = 'sites/example.dev/files';"
- "$conf['memcache_bins']['cache'] = 'default';"
- "$conf['memcache_bins']['cache_performance'] = 'default';"
- "$conf['memcache_bins']['cache_admin_menu'] = 'default';"
- "$conf['memcache_bins']['cache_apachesolr'] = 'default';"
- "$conf['memcache_bins']['cache_block'] = 'default';"
- "$conf['memcache_bins']['cache_bml'] = 'default';"
- "$conf['memcache_bins']['cache_bootstrap'] = 'default';"
- "$conf['memcache_bins']['cache_field'] = 'default';"
- "$conf['memcache_bins']['cache_filter'] = 'default';"
- "$conf['memcache_bins']['cache_image'] = 'default';"
- "$conf['memcache_bins']['cache_libraries'] = 'default';"
- "$conf['memcache_bins']['cache_mailchimp_user'] = 'default';"
- "$conf['memcache_bins']['cache_menu'] = 'default';"
- "$conf['memcache_bins']['cache_page'] = 'default';"
- "$conf['memcache_bins']['cache_path'] = 'default';"
- "$conf['memcache_bins']['cache_rules'] = 'default';"
- "$conf['memcache_bins']['cache_token'] = 'default';"
- "$conf['memcache_bins']['cache_update'] = 'default';"
- "$conf['memcache_bins']['cache_variable'] = 'default';"
- "$conf['memcache_bins']['cache_views'] = 'default';"
- "$conf['memcache_bins']['cache_views_data'] = 'default';"
- "$conf['page_compression'] = FALSE;"