-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcopier.yml
202 lines (174 loc) · 3.76 KB
/
copier.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
project_slug:
type: str
help: Project slug (used for url, and container name)?
validator: >-
{% if not (project_slug | regex_search("^[a-z][a-z0-9]+$")) %}
Project slug must start with a lowercase letter, followed by one or more lowercase letters and/or digits.
{% endif %}
project_port:
type: int
help: Project port (8000 - 8999)?
default: "{{ range(8000, 8999)|random }}"
validator: >-
{% if project_port < 8000 %}
Project port must be greater than 8000.
{% endif %}
{% if project_port > 8999 %}
Project port must be smaller than 9000.
{% endif %}
os:
type: str
help: Operating system? To use mutagen if on mac.
choices:
- [Mac, mac]
- [Win WSL, win]
- [Linux, linux]
default: linux
php:
type: str
help: PHP version to use?
choices:
- [PHP8.2, php82]
- [PHP8.1, php81]
- [PHP8.0, php80]
default: php82
drupal:
type: str
help: Drupal version to use?
choices:
- [Drupal 10, d10]
- [Drupal 9, d9]
- [Drupal 7, d7]
default: d10
name:
type: str
help: Your name (to be used in git config)?
validator: >-
{% if not name %}
Name is required, and can not be empty.
{% endif %}
email:
type: str
help: Your email (to be used in git config)?
validator: >-
{% if not (email | regex_search("^[a-zA-Z0-9]+(?:\.[a-zA-Z0-9]+)*@[a-zA-Z0-9]+(?:\.[a-zA-Z0-9]+)*$")) %}
Email is required field and has to be valid format.
{% endif %}
rest_default:
type: bool
help: Do you want to use default for rest, and skip prompts? Answer NO to fine tune the environment.
default: true
xdebug:
type: bool
help: Enable XDEBUG on your PHP version?
default: false
when: "{{ not rest_default }}"
mailhog:
type: bool
help: Enable mailhog?
default: false
when: "{{ not rest_default }}"
webserver:
type: str
help: Webserver to use?
choices:
- [Nginx, nginx]
- [Apache, apache]
default: nginx
when: "{{ not rest_default }}"
database:
type: str
help: Database to use?
choices:
- [MariaDB, mariadb]
- [Postgres, postgres]
default: mariadb
when: "{{ not rest_default }}"
crond:
type: bool
help: Use CronD service?
default: false
when: "{{ not rest_default }}"
varnish:
type: bool
help: Use Varnish?
default: false
when: "{{ not rest_default }}"
redis:
type: bool
help: Use Redis?
default: false
when: "{{ not rest_default }}"
dbbrowser:
type: str
help: Use dabatase browser?
choices:
- [None, none]
- [Adminer, adminer]
- [PHPMyAdmin, phpmyadmin]
default: none
when: "{{ not rest_default }}"
solr:
type: bool
help: Use SOLR with Zookeeper?
default: false
when: "{{ not rest_default }}"
dbbrowser:
type: bool
help: Use Drupal node?
default: false
when: "{{ not rest_default }}"
memcached:
type: bool
help: Use Memcached?
default: false
when: "{{ not rest_default }}"
rsyslog:
type: bool
help: Use Rsyslog?
default: false
when: "{{ not rest_default }}"
athenapdf:
type: bool
help: Use Athena PDF?
default: false
when: "{{ not rest_default }}"
node:
type: bool
help: Use Node?
default: false
when: "{{ not rest_default }}"
webgrind:
type: bool
help: Use Webgrind?
default: false
when: "{{ not rest_default }}"
elasticsearch:
type: bool
help: Use Elasticsearch?
default: false
when: "{{ not rest_default }}"
kibana:
type: bool
help: Use Kibana?
default: false
when: "{{ not rest_default and elasticsearch}}"
opensmtpd:
type: bool
help: Use Open smtpd?
default: false
when: "{{ not rest_default }}"
xhprof:
type: bool
help: Use Xhprof?
default: false
when: "{{ not rest_default }}"
chrome:
type: bool
help: Use Chrome?
default: false
when: "{{ not rest_default }}"
_exclude:
- ".idea"
- ".git"
- "copier.yml"