-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.yaml.dist
102 lines (98 loc) · 2.61 KB
/
config.yaml.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
hostname: project.vm
# CIDR for the network. Ensure that the network contains enough IP addresses!
network-ip: 192.168.42.48/29
# This is based on the path of config.yaml
customPlaybook: ansible/awesome-playbook.yml
groups:
web: ["apache"]
database: ["mysql"]
elasticsearch: ["search"]
# If you want to split your config file, you can specify multiple additional config files:
#imports:
# - nodes/apache.yaml
# - nodes/mysql.yaml
nodes:
apache:
primary: true
# Prevents starting this VM on "vagrant up".
autostart: false
docroot: public
useSharedFolder: true
vhostSymlinkTarget: "/project"
vm:
memory: 1024
cpus: 1
shared-folders:
../project:
target: "/srv/project.vm"
type: "rsync"
owner: vagrant
group: www-data
excludes:
- web/tmp/
php:
# Only PHP 5.6 and up are supported
version: 7.1
# You can add your own required PHP extensions:
extensions:
- php-ast
configs:
# Basic PHP settings (they won't be prefixed)
php:
display_errors: on
post_max_size: 32M
upload_max_filesize: 32M
max_input_vars: 1500
max_execution_time: 300
memory_limit: 256M
always_populate_raw_post_data: -1
date:
timezone: Europe/Berlin
xdebug:
cli_color: 1
max_nesting_level: 500
remote_enable: 1
idekey: PHPSTORM
var_display_max_children: 512
var_display_max_data: 2560
var_display_max_depth: 200
profiler_enable_trigger: 1
collect_params: 1
trace_enable_trigger: 1
trace_format: 2
trace_output_name: "trace.%R.%t"
proxies:
- name: images
source: "/"
target: "https://stage.awesome.project/"
ssl: true
auth:
# Only HTTP basic authentication is supported, for now.
type: http-basic
username: ChangeMe
password: IAmNotSoSecure
mysql:
vm:
memory: 2048
cpus: 2
databases:
project:
# List of SQL dumps to import into the DB "project".
- dumps/project.sql
- dumps/project.sql.gz
- dumps/project.sql.bz2
# Use tilde (~) to skip dump import (e.g. you have no dump)
project2: ~
search:
vm:
memory: 1024
cpus: 1
elasticsearch:
# Supported ES versions:
# 2.1.0, 2.1.1
# 2.2.0, 2.2.1
# 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4
# 2.4.1
# 5.1.1
# 5.4.0, 5.4.3
version: "5.4.3"