This repository has been archived by the owner on Oct 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.drupal7.config.yml
302 lines (270 loc) · 7.59 KB
/
default.drupal7.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
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
---
vagrant_box: centos/7
vagrant_username: vagrant
vagrant_hostname: yet-another-drupalbox.local
vagrant_machine_name: yet-another-drupalbox.local
# see: https://www.vagrantup.com/docs/vagrantfile/ssh_settings.html
vagrant_ssh_private_key_path: ~/.ssh/id_rsa
vagrant_ssh_public_key_path: ~/.ssh/id_rsa.pub
# See: https://www.vagrantup.com/docs/networking/private_network.html
vagrant_private_ip: 192.168.33.10
# See: https://docs.vagrantup.com/v2/networking/public_network.html
vagrant_public_ip: ""
# See: http://docs.drupalvm.com/en/latest/extras/syncing-folders/
vagrant_vm_synced_folder:
- local_path: ~/Sites/yet-another-drupalbox
vm_path: "{{ drupal_root_path }}"
type: nfs
create: true
bindfs:
path: '/vagrant-bindfs'
user: 'nginx'
group: 'nginx'
perms: 'u=rwX:g=rwD'
options: 'nonempty'
# virtualbox vm spec
vagrant_vm_cpus: 4
vagrant_vm_memory: 4096
# DigitalOcean droplet configuration
digitalocean_box_url: 'https://github.com/smdahlen/vagrant-digitalocean/raw/master/box/digital_ocean.box'
digitalocean_image: 'centos-7-0-x64'
digitalocean_region: 'sgp1'
digitalocean_size: '512mb'
digitalocean_backup_enabled: false
# AWS configuration
aws:
keypair_name: 'YOUR_KEYPAIR_NAME'
ami: 'ami-0c11b26d' # see https://aws.amazon.com/amazon-linux-ami/
aws_profile: 'default'
region: 'ap-northeast-1'
instance_type: 't2.nano'
ssh_host_attribute: 'public_ip_address'
monitoring: true
#elastic_ip: true
#iam_instance_profile_name: 'YOUR_IAM_ROLE_NAME'
tags:
Name: 'yet-another-drupalbox'
# more options: https://github.com/mitchellh/vagrant-aws#configuration
# Azure configuration
azure:
resource_group_name: 'YOUR_RESOURCE_GROUP_NAME'
location: 'japaneast'
vm_name: 'yet-another-drupalbox'
# you can see image urn at https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-cli-ps-findimage/
vm_image_urn: 'OpenLogic:CentOS:7.2n:7.2.20160629'
vm_size: 'Standard_A0'
# more options: https://github.com/Azure/vagrant-azure
# Google Compute Engine configuation
google:
# you can see images at https://console.cloud.google.com/compute/imagesDetail/projects/centos-cloud/global/images/
image: 'centos-7-v20170227'
machine_type: 'n1-standard-1'
# instance_group: YOUR_INSTANCE_GROUP
# disk_size: 10
# disk_type: pd-ssd
# name: 'YOUR_INSTANCE_NAME'
tags:
- http-server
- https-server
zone: asia-northeast1-c
# preemptible: true
scopes:
- bigquery
- monitoring
- https://www.googleapis.com/auth/compute
# more options: https://github.com/mitchellh/vagrant-google
# Cloud init
# user_data_path: /Users/username/cloud-init/user_data.yml
# Set this to false if you don't need to install drupal
drupal_site_install: true
# Which version of Drupal to deploy
drupal_major_version: 7
drupal_version: 7.54
# options for drupal installation
drupal_on_synced_folder: true
drupal_root_path: /var/www/drupal
drupal_site_name: "{{ vagrant_hostname }}"
drupal_site_install_profile: standard
drupal_site_install_extra_args: []
drupal_account_name: admin
drupal_account_pass: admin
drupal_database_host: localhost
drupal_database_port: 3306
drupal_database_name: drupal
drupal_database_user: drupal
drupal_database_password: drupal
drupal_extra_modules:
- admin_menu
- admin_views
- ctools
- date
- devel
- ds
- email
- entity
- entityreference
- extlink
- field_group
- jquery_update
- l10n_update
- libraries
- link
- markdown
- masquerade
- node_clone
- panels
- rules
- token
- views
- views_bulk_operations
- webform
# enable & disable modules after installation.
# it's install_site = true
drupal_enable_modules:
- devel
drupal_disable_modules:
- comment
- color
- overlay
- shortcut
# Composer
# NOTE: currently composer_version does not affect anything.
# composer_version: 1.0.0
composer_global_packages:
- { name: hirak/prestissimo, release: '^0.3' }
composer_global_configs:
- "repos.packagist composer https://packagist.jp"
# Drush
drush_path: /usr/local/bin/drush
drush_version: 8.x
# DrupalConsole
drupalconsole_path: /usr/local/bin/drupal
drupalconsole_version: master
# Extra features
extra_features:
- drupalconsole
- nodejs
#- awscli
#- solr
#- mautic
# Nodejs
# currently supported "4.x", "5.x", "6.x", "7.x".
nodejs_version: "6.x"
nodejs_npm_global_packages:
- grunt-cli
- gulp
- bower
# Apache Solr
# Solr version, currently supported 4.x only
solr_version: 4.9.1
solr_install_path: /var/lib/solr
tika_version: 1.14
tika_install_path: /var/lib/tika
# Mautic
mautic_root_path: /var/www/mautic
mautic_version: 2.7.1
mautic_site_name: "mautic.{{ vagrant_hostname }}"
mautic_database_host: localhost
mautic_database_port: 3306
mautic_database_name: mautic
mautic_database_user: mautic
mautic_database_password: mautic
# Extra packages you would like installed.
extra_packages:
- zsh
- rsync
- unzip
- htop
- vim
- tmux
- cpulimit # if you use Amazon Linux, comment out this line
- gitflow # if you use Amazon Linux, comment out this line
# awscli
awscli_output_format: "json"
awscli_region: "ap-northeast-1"
awscli_access_key_id: "THE_ACCESS_KEY_ID"
awscli_secret_access_key: "THE_SECRET_KEY_ID"
# Timezone
timezone: Asia/Tokyo
# Cron jobs are added to the root user's crontab. Keys include name (required),
# minute, hour, day, weekday, month, job (required), and state.
cron_jobs: []
# name: "Drupal Cron",
# minute: "*/30",
# job: "{{ druah_path }} -r {{ drupal_root_path }} core-cron"
# }
#- {
# name: "Mautic: keep the segments current",
# minute: "0,15,30,45",
# user: "nginx",
# job: "php {{ mautic_root_path}}/app/console mautic:segments:update"
# }
#- {
# name: "Mautic: keep campaigns updated with applicable contacts",
# minute: "5,20,35,50",
# user: "nginx",
# job: "php {{ mautic_root_path}}/app/console mautic:campaigns:rebuild"
# }
#- {
# name: "Mautic: execute campaigns events",
# minute: "10,25,40,55",
# user: "nginx",
# job: "php {{ mautic_root_path}}/app/console mautic:campaigns:trigger"
# }
firewall_allowed_ports:
- "22/tcp"
- "80/tcp"
- "443/tcp"
- "9000/tcp"
- "8025/tcp" # for mailhog
# Nginx
nginx_vhost_path: /etc/nginx/conf.d
nginx_hosts:
- server_name: "adminer.{{ vagrant_hostname }}"
root: "{{ adminer_install_dir }}"
is_php: true
# php version, currently supported "5.6", "7.0".
php_version: "5.6"
php_fpm_listen: /var/run/php-fpm/php-fpm.sock
php_fpm_listen_owner: nginx
php_fpm_listen_group: nginx
php_fpm_user: nginx
php_fpm_group: nginx
php_session_save_handler: files
php_session_save_path: /var/lib/php/session
php_value:
- memory_limit: 2048M
- post_max_size: 128M
- upload_max_filesize: 64M
- apc.shm_size: 128M
- apc.entries_hint: 16384
- apc.ttl: 7200
- opcache.enable: 1
- opcache.memory_consumption: 256
- opcache.max_accelerated_files: 100000
- opcache.interned_strings_buffer: 8
- opcache.revalidate_freq: 10
- opcache.fast_shutdown: 1
- xdebug.remote_enable: 1
- xdebug.remote_autostart: 1
- xdebug.remote_connect_back: 1
- xdebug.idekey: PHPSTORM
# Mysql
mysql_root_password: root
mysql_config_server:
- character_set_server: utf8mb4
mysql_config_mysqld:
- max_allowed_packet: 64M
- key_buffer: 32M
- query_cache_size: 128M
- innodb_large_prefix: true
- innodb_file_format: barracuda
- innodb_file_per_table: 1
- innodb_buffer_pool_size: 1024M
- innodb_log_file_size: 512M
- innodb_log_buffer_size: 64M
mysql_config_mariadb: []
mysql_config_embedded: []
# Run specified scripts after VM is provisioned. Path is relative to the
# `provisioning/site` file.
post_provision_scripts: []