-
Notifications
You must be signed in to change notification settings - Fork 2
/
Subutai.json
53 lines (53 loc) · 1.18 KB
/
Subutai.json
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
{
"name": "${environmentName}",
"description": "test",
"version": "1.0.0",
"author": "https://github.com/absidish",
"containers": [
{
"hostname": "db",
"template": "debian-stretch@f9d6a36b3e9b1d985008e482680f2ddf584d98bd",
"peer-criteria": "gr1",
"size": "${dbtype}",
"peer-layout": "d1"
}
],
"peer-layouts": [
{
"name": "d1",
"peer-count": "1",
"container-per-peer": "1"
}
],
"peer-criteria": [
{
"name": "gr1"
}
],
"user-variables": {
"environmentName": {
"description": "Enter the environment name",
"type": "string",
"default": "wp",
"validation": "[a-zA-Z0-9]+"
},
"peerCount": {
"description": "peer count",
"type": "int",
"default": "3",
"validation": "\\d+"
},
"dbtype": {
"description": "You can set TINY,SMALL,MEDIUM,LARGE,HUGE",
"type": "enum",
"default": "SMALL",
"validation": "TINY,SMALL,MEDIUM,LARGE,HUGE"
},
"webtype": {
"description": "You can set TINY,SMALL,MEDIUM,LARGE,HUGE",
"type": "enum",
"default": "SMALL",
"validation": "TINY,SMALL,MEDIUM,LARGE,HUGE"
}
}
}