-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.rb-dist
144 lines (134 loc) · 5.13 KB
/
config.rb-dist
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# This is the config file where you'll set up info about your vhosts.
# When you're done, save it as config.rb (which is .gitignored)
#
# The sites list is a 2D hash, consisting of a name and some parameters.
#
# host: The hostname you want to use for this site. Probably a
# good idea to stick with sitename.vm.
#
# path: The relative path to your docroot, beneath /drupal_sites/.
# Note that if this is an Acquia Cloud-style Repo, you'll
# need to add /docroot to the end.
#
# drupal: Drupal Version of the site, 6 or 7. Not Drupal? Pass in
# "false".
#
# php_version: "5.6", "7.0", or "7.1" (defaults to "5.6"). Defines which
# php-fpm pool to use, on a host-by-host basis.
#
# aliases: A list of alias domains to set up. Useful for testing
# domain-based internationalization.
#
# multisite_dir: Need a specific Drupal Multi-site directory instead of
# just /sites/default ? Enter it here.
#
# git_url: URL to a Git Repo, it'll clone it if the dir doesn't exist
#
# git_dir: Directory under /sites/ you want to clone into. This needs
# to be distinct from "path" because you may need a docroot
# defined to be *below* your git root.
#
# setenv: set any environment variable for httpd.conf like
# "setenv" => ["env_var value"]
# and make sure to use square brackets not curly braces for
# single str array values to merge with other AH_ values
#
# ssl_ca: Use these to pass in a path (probably /vagrant/ssl/something)
# ssl_key to explicitly specify a set of SSL key + cert + ca bundle, so
# ssl_cert you can do semi-legitimate and pretty realistic SSL-enabled
# testing.
#
# Ex:
# drupal_sites = {
# "test" => {
# "host" => "test.vm",
# "path" => "test-site/docroot"
# },
# "some-site-with-aliases" => {
# "host" => "some-site.vm",
# "aliases" => ["also.some-site.vm","also.other-site.vm"],
# "path" => "some-site/docroot",
# },
# "multisite-1" => {
# "host" => "ms-1.vm",
# "path" => "multisite-repo/docroot",
# "multisite_dir" => "multisite-1",
# },
# "multisite-2" => {
# "host" => "ms-2.vm",
# "path" => "multisite-repo/docroot",
# "multisite_dir" => "multisite-2",
# },
# "some-cool-remote-site" => {
# "host" => "cool-site.vm",
# "path" => "cool-site/docroot",
# "git_url" => "[email protected]:cool-dudes/cool-site.git",
# "git_dir" => "cool-site"
# },
# }
#
# This file also allows you to configure external hosts while provisioning the box. Multiple hosts with
# multiple aliases can be configured:
#
# Ex:
# external_hosts = {
# "externalhost.example" => {
# "ip" => "10.0.0.42",
# "host_aliases" => ["alias.externalhost.example", "alias2.externalhost.example"]
# },
# "externalhost2.example" => {
# "ip" => "10.0.0.41",
# "host_aliases" => ["alias1.externalhost2.example", "alias2.externalhost2.example"]
# }
# }
#
# Packaging Mode skips some of the build steps and preps a box for publishing.
# Uncomment the following line to run the site in "packaging mode".
#
# Warning: Only do this if you _really_ know what you're doing
#
# packaging_mode = true
# Forward SSH Agent forwards your host's ssh_agent (so, all authorized keys and such)
# into the box, which means you'll be able to do key-based git authentication without
# having to copy/paste keys into the box.
#
# forward_ssh_agent = true
# Sometimes you may need to run two instances of precip, but Virtualbox and Vagrant
# get angry if two boxes have the same name. Need to override that? Set it here.
#
# vm_name = "not-precip"
# You can configure the amount of memory that is allocated to the VM
#
# vm_memory = 4096
# You can increase the storage size of mysql if you have large databases
#
# Warning: If you change this after it has been created then you can do the following.
# This process will lose your databases so back them up if you need to.
# Remove the vdi from the machine, delete it and reprovision the vm to recreate it.
#
# mysql_storage_size = 65536
# We offer a partially pre-built version of the Precip Base Box, which ships with
# all keys and base packages pre-installed, so all that's left is installing PHP,
# Apache, MySQL, and Configuring everything. This can help on restrictive networks
# where you might not be able to add keys properly.
#
# use_packaged_precip = true
# By default on operating systems that support it (eg: not Windows), we mount the
# drupal_sites directory as nfs then rig it to a bindfs mount, as this allows the OS
# to treat it as a Big Boy drive, while also dramatically increasing performance.
#
# Turns out MacOS 10.13 High Sierra broke NFS pretty horribly. Whoops.
# https://github.com/hashicorp/vagrant/issues/8788
#
# It's slated to be fixed in 10.13.2, but in the meantime a simple way to just kill
# NFS support is helpful. So add 'nfs_killswitch = true' to config.rb and you're done.
#
# nfs_killswitch = true
drupal_sites = {
# "example" => {
# "host" => "example.vm",
# "path" => "example/docroot"
# },
}
external_hosts = {
}