-
Notifications
You must be signed in to change notification settings - Fork 2
/
dogu.json
245 lines (245 loc) · 8.48 KB
/
dogu.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
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
{
"Name": "official/sonar",
"Version": "9.9.7-1",
"DisplayName": "SonarQube",
"Description": "SonarQube is an open source quality management platform, dedicated to continuously analyze and measure source code quality",
"Category": "Development Apps",
"Tags": [
"warp",
"code",
"quality",
"analysis"
],
"Logo": "https://cloudogu.com/images/dogus/sonarqube.png",
"Url": "http://www.sonarqube.org/",
"Image": "registry.cloudogu.com/official/sonar",
"Dependencies": [
{
"type": "dogu",
"name": "postgresql"
},
{
"type": "dogu",
"name": "cas",
"Version": ">=7.0.5.1-6"
},
{
"type": "dogu",
"name": "nginx"
},
{
"type": "dogu",
"name": "postfix"
}
],
"Volumes": [
{
"Name": "data",
"Path": "/opt/sonar/data/",
"Owner": "1000",
"Group": "1000",
"NeedsBackup": true
},
{
"Name": "qualityprofiles",
"Path": "/var/lib/qualityprofiles",
"Owner": "1000",
"Group": "1000",
"NeedsBackup": false
},
{
"Name": "extensions",
"Path": "/opt/sonar/extensions",
"Owner": "1000",
"Group": "1000",
"NeedsBackup": true
},
{
"Name": "localConfig",
"Path": "/var/ces/config",
"Owner": "1000",
"Group": "1000",
"NeedsBackup": true
}
],
"ServiceAccounts": [
{
"Type": "postgresql"
},
{
"Type": "cas",
"Params": [
"cas"
]
}
],
"Configuration": [
{
"Name": "sonar.updatecenter.url",
"Description": "Set custom SonarQube UpdateCenter URL",
"Optional": true
},
{
"Name": "sonar.plugins.default",
"Description": "Comma separated list of plugin names to install on start",
"Optional": true
},
{
"Name": "container_config/memory_limit",
"Description": "Limits the container's memory usage. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte).",
"Optional": true,
"Validation": {
"Type": "BINARY_MEASUREMENT"
}
},
{
"Name": "container_config/swap_limit",
"Description": "Limits the container's swap memory usage. Use zero or a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte). 0 will disable swapping.",
"Optional": true,
"Validation": {
"Type": "BINARY_MEASUREMENT"
}
},
{
"Name": "container_config/java_sonar_main_max_ram_percentage",
"Description": "Limits the heap stack size of the Sonar main process to the configured percentage of the available physical memory when the container has more than approx. 250 MB of memory available. Is only considered when a memory_limit is set. Use a valid float value with decimals between 0 and 100 (f. ex. 55.0 for 55%). Default value for Sonar main: 25%",
"Optional": true,
"Default": "25.0",
"Validation": {
"Type": "FLOAT_PERCENTAGE_HUNDRED"
}
},
{
"Name": "container_config/java_sonar_main_min_ram_percentage",
"Description": "Limits the heap stack size of the Sonar main process to the configured percentage of the available physical memory when the container has less than approx. 250 MB of memory available. Is only considered when a memory_limit is set. Use a valid float value with decimals between 0 and 100 (f. ex. 55.0 for 55%). Default value for Sonar main: 50%",
"Optional": true,
"Default": "50.0",
"Validation": {
"Type": "FLOAT_PERCENTAGE_HUNDRED"
}
},
{
"Name": "container_config/java_sonar_web_max_min_ram_percentage",
"Description": "Limits the heap stack size of the Sonar web background process to the configured percentage of the available physical memory. Is only considered when a memory_limit is set. Use a valid float value with decimals between 0 and 100 (f. ex. 55.0 for 55%). Default value for Sonar web: 10%",
"Optional": true,
"Default": "10.0",
"Validation": {
"Type": "FLOAT_PERCENTAGE_HUNDRED"
}
},
{
"Name": "container_config/java_sonar_search_max_min_ram_percentage",
"Description": "Limits the heap stack size of the Sonar search background process to the configured percentage of the available physical memory. Is only considered when a memory_limit is set. Use a valid float value with decimals between 0 and 100 (f. ex. 55.0 for 55%). Default value for Sonar search: 10%",
"Optional": true,
"Default": "10.0",
"Validation": {
"Type": "FLOAT_PERCENTAGE_HUNDRED"
}
},
{
"Name": "container_config/java_sonar_cengine_max_min_ram_percentage",
"Description": "Limits the heap stack size of the Sonar compute engine background process to the configured percentage of the available physical memory. Is only considered when a memory_limit is set. Use a valid float value with decimals between 0 and 100 (f. ex. 55.0 for 55%). Default value for Sonar compute engine: 10%",
"Optional": true,
"Default": "10.0",
"Validation": {
"Type": "FLOAT_PERCENTAGE_HUNDRED"
}
},
{
"Name": "amend_projects_with_ces_admin_permissions",
"Description": "If set to 'all', the ces-admin group will be enabled to administer all projects. This key will automatically reset to 'none' afterwards.",
"Optional": true
},
{
"Name": "logging/root",
"Description": "Set the root log level to one of ERROR, WARN, INFO, DEBUG, TRACE.",
"Optional": true,
"Default": "INFO",
"Validation": {
"Type": "ONE_OF",
"Values": [
"WARN",
"DEBUG",
"INFO",
"ERROR",
"TRACE"
]
}
},
{
"Name": "container_config/memory_limit",
"Description": "Limits the container's memory usage. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte).",
"Optional": true,
"Validation": {
"Type": "BINARY_MEASUREMENT"
}
},
{
"Name": "container_config/memory_request",
"Description": "Requests the container's minimal memory requirement. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte).",
"Optional": true,
"Validation": {
"Type": "BINARY_MEASUREMENT"
},
"Default": "1300m"
},
{
"Name": "container_config/swap_limit",
"Description": "Limits the container's swap memory usage. Use zero or a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte). 0 will disable swapping.",
"Optional": true,
"Validation": {
"Type": "BINARY_MEASUREMENT"
}
},
{
"Name": "container_config/cpu_core_limit",
"Description": "Limits the container's CPU core usage. Use a positive floating value describing a fraction of 1 CPU core. When you define a value of '0.5', you are requesting half as much CPU time compared to if you asked for '1.0' CPU.",
"Optional": true
},
{
"Name": "container_config/cpu_core_request",
"Description": "Requests the container's minimal CPU core requirement. Use a positive floating value describing a fraction of 1 CPU core. When you define a value of '0.5', you are requesting half as much CPU time compared to if you asked for '1.0' CPU.",
"Optional": true,
"Default": "1.0"
},
{
"Name": "container_config/storage_limit",
"Description": "Limits the container's ephemeral storage usage. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte).",
"Optional": true,
"Validation": {
"Type": "BINARY_MEASUREMENT"
}
},
{
"Name": "container_config/storage_request",
"Description": "Requests the container's minimal ephemeral storage requirement. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte).",
"Optional": true,
"Validation": {
"Type": "BINARY_MEASUREMENT"
}
}
],
"HealthChecks": [
{
"Type": "tcp",
"Port": 9000
},
{
"Type": "state"
}
],
"ExposedCommands": [
{
"Name": "post-upgrade",
"Command": "/post-upgrade.sh"
},
{
"Name": "upgrade-notification",
"Command": "/upgrade-notification.sh"
},
{
"Name": "pre-upgrade",
"Command": "/pre-upgrade.sh"
}
]
}