-
Notifications
You must be signed in to change notification settings - Fork 5
/
Subutai.json
123 lines (123 loc) · 3.51 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
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
{
"name": "${environmentName}",
"description": "Black mamba",
"version": "1.0.0",
"author": "https://github.com/absidish",
"containers": [
{
"hostname": "${containerName}",
"template": "debian-stretch",
"peer-criteria": "PEER-GROUP",
"size": "${containerSize}",
"port-mapping": [
{
"protocol": "http",
"domain": "${domainName}",
"internal-port": "80",
"external-port": "80"
}
]
}
],
"peer-criteria": [
{
"name": "PEER-GROUP"
}
],
"ansible-configuration": {
"source-url": "https://github.com/subutai-io/blockops/archive/master.zip",
"ansible-playbook": "install-tools.yml",
"extra-vars": [
{
"key": "account",
"value": "${account}"
},
{
"key": "host",
"value": "${host}"
},
{
"key": "port",
"value": "${port}"
},
{
"key": "network_id",
"value": "${networkid}"
},
{
"key": "private_key_pwd",
"value": "${privatekeypwd}"
}
],
"groups": [
{
"name": "bm",
"hostnames": [
"${containerName}"
]
}
]
},
"user-variables": {
"environmentName": {
"description": "Enter the environment name",
"type": "string",
"default": "wp",
"validation": "[a-zA-Z0-9]+"
},
"domainName": {
"description": "Enter the application domain name",
"type": "domain",
"default": "change.the.domain",
"validation": "[a-zA-Z0-9]+"
},
"containerName": {
"description": "Enter the container's hostname",
"type": "string",
"default": "wp",
"validation": "[a-zA-Z0-9]+"
},
"containerSize": {
"description": "Container Size",
"type": "enum",
"default": "LARGE",
"validation": "MEDIUM,LARGE,HUGE"
},
"message": {
"description": "Enter the message",
"type": "string",
"default": "message",
"validation": "[a-zA-Z0-9]+"
},
"account": {
"description": "Account",
"type": "string",
"default": "0x2EC5973E8847099E0234a1c567997d8fCDfE545C",
"validation": "[a-zA-Z0-9]+"
},
"host": {
"description": "host",
"type": "string",
"default": "85.93.89.128",
"validation": "(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"
},
"port": {
"description": "port",
"type": "string",
"default": "8549",
"validation": "[a-zA-Z0-9]+"
},
"networkid": {
"description": "network_id",
"type": "string",
"default": "2059",
"validation": "[a-zA-Z0-9]+"
},
"privatekeypwd": {
"description": "private_key_pwd",
"type": "string",
"default": "mnbv1234",
"validation": "[a-zA-Z0-9]+"
}
}
}