-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdogu.json
320 lines (320 loc) · 11.1 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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
{
"Name": "official/nexus",
"Version": "3.75.0-2",
"DisplayName": "Sonatype Nexus",
"Description": "The Nexus Repository is like the local warehouse where all of the parts and finished goods used in your software supply chain are stored and distributed.",
"Url": "http://www.sonatype.org/nexus",
"Logo": "https://cloudogu.com/images/dogus/nexus.png",
"Category": "Development Apps",
"Tags": [
"warp",
"build",
"artifact",
"maven"
],
"Image": "registry.cloudogu.com/official/nexus",
"Dependencies": [
{
"type": "dogu",
"name": "cas",
"Version": ">=7.0.5.1-6"
},
{
"type": "dogu",
"name": "nginx"
},
{
"type": "dogu",
"name": "postfix"
}
],
"ServiceAccounts": [
{
"Type": "cas",
"Params": [
"cas"
]
}
],
"Volumes": [
{
"Name": "data",
"Path": "/var/lib/nexus",
"Owner": "1000",
"Group": "1000",
"NeedsBackup": true
},
{
"Name": "migration",
"Path": "/var/lib/migration",
"Owner": "1000",
"Group": "1000",
"NeedsBackup": true
},
{
"Name": "localConfig",
"Path": "/var/ces/config",
"Owner": "1000",
"Group": "1000",
"NeedsBackup": true
}
],
"ExposedCommands": [
{
"Name": "service-account-create",
"Description": "Creates a new service account",
"Command": "/create-sa.sh"
},
{
"Name": "service-account-remove",
"Description": "Removes a service account",
"Command": "/remove-sa.sh"
},
{
"Name": "pre-upgrade",
"Command": "/pre-upgrade.sh"
},
{
"Name": "upgrade-notification",
"Command": "/upgrade-notification.sh"
}
],
"Configuration": [
{
"Name": "claim/once",
"Description": "A claim script definition which is only executed once. After that, it will set the claim/once.lock key which prevents further execution.",
"Optional": true
},
{
"Name": "claim/once.lock",
"Description": "If this key is set to true it will prevent the claim/once script from being executed.",
"Optional": true
},
{
"Name": "claim/always",
"Description": "A claim script definition which will always be executed at startup.",
"Optional": true
},
{
"Name": "nexus.repository.sandbox.enable",
"Description": "Enable repository sandboxing",
"Optional": true
},
{
"Name": "installDefaultDockerRegistry",
"Description": "If set to false, the default docker registry is not installed",
"Optional": true
},
{
"Name": "disableOutreachManagement",
"Description": "Disable the outreach management capability",
"Optional": true
},
{
"Name": "logging/root",
"Description": "Set the root log level to one of ERROR, WARN, INFO, DEBUG. The default log level is set to \"WARN\"",
"Optional": true,
"Default": "WARN",
"Validation": {
"Type": "ONE_OF",
"Values": [
"WARN",
"DEBUG",
"INFO",
"ERROR"
]
}
},
{
"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). We recommend to add 50m for additional tools running inside the container.",
"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_max_ram_percentage",
"Description": "Limits the heap stack size of the Nexus 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 Nexus: 25%",
"Optional": true,
"Default": "25.0",
"Validation": {
"Type": "FLOAT_PERCENTAGE_HUNDRED"
}
},
{
"Name": "container_config/java_min_ram_percentage",
"Description": "Limits the heap stack size of the Nexus 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 Nexus: 50%",
"Optional": true,
"Default": "50.0",
"Validation": {
"Type": "FLOAT_PERCENTAGE_HUNDRED"
}
},
{
"Name": "cleanup_policy/notes",
"Description": "Notes to the default cleanup-policy. Default: \"Do not edit. CES will re-generate this default policy during each Nexus start-up that will overwrite your changes. You may want to create your own policies which will stay untouched during the start-up.\"",
"Optional": true,
"Default": "Do not edit. CES will re-generate this default policy during each Nexus start-up that will overwrite your changes. You may want to create your own policies which will stay untouched during the start-up."
},
{
"Name": "cleanup_policy/policy_format",
"Description": "Repository format on which the default cleanup-policy can be applied. The default is \"maven2\" which corresponds to maven repositories",
"Optional": true,
"Default": "maven2",
"Validation": {
"Type": "ONE_OF",
"Values": [
"apt",
"bower",
"cocoapods",
"conan",
"conda",
"docker",
"gitlfs",
"go",
"helm",
"maven2",
"npm",
"nuget",
"p2",
"pypi",
"r",
"raw",
"rubygems",
"yum"
]
}
},
{
"Name": "cleanup_policy/criteria/regex",
"Description": "Regex which will be used to match fitting artifacts. Default: \".*SNAPSHOT\"",
"Optional": true,
"Default": ".*SNAPSHOT"
},
{
"Name": "cleanup_policy/criteria/release_type",
"Description": "The release type on which this policy will be applied. This configuration can only be applied if the 'policy_format' is of type \"maven2\", \"yum\" and \"npm\". Default: \"PRERELEASES\"",
"Optional": true,
"Default": "PRERELEASES"
},
{
"Name": "cleanup_policy/criteria/days_till_recognition_for_delete",
"Description": "The number of days after which an artifact is recognised for deletion. Default: \"14\"",
"Optional": true,
"Default": "14"
},
{
"Name": "compact_blobstore_task/enabled",
"Description": "Switch to control whether the policy should be switched on or off. Default: \"true\"",
"Optional": true,
"Default": "true",
"Validation": {
"Type": "ONE_OF",
"Values": [
"true",
"false"
]
}
},
{
"Name": "compact_blobstore_task/blobstore",
"Description": "The specific blobstore instance to that the task should be applied. This configuration should only be used if the task type is 'blobstore.compact' (or other tasks that need to choose a blobstore instance). Default: \"default\"",
"Optional": true,
"Default": "default"
},
{
"Name": "compact_blobstore_task/cron",
"Description": "Cron string (in Quartz syntax) that sets the task's schedule. The default \"0 0 3 * * ?\" value will run the task daily at 3:00 AM.",
"Optional": true,
"Default": "0 0 3 * * ?"
},
{
"Name": "carp-limiter/token-rate",
"Description": "The token-rate of the carp-limiter in which tokens are added to the bucket in tokens/second. Default is 50",
"Optional": true,
"Default": "50"
},
{
"Name": "carp-limiter/burst-size",
"Description": "The size of the bucket for the carp-limiter. It sets the amount of tokens the bucket can hold. Defaults to 150",
"Optional": true,
"Default": "150"
},
{
"Name": "carp-limiter/clean-interval",
"Description": "The clean interval in seconds for the carp-limiter, in which old limits from the limiter are cleaned. Defaults to 300 seconds (5 minutes)",
"Optional": true,
"Default": "30"
},
{
"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": "2500m"
},
{
"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": 8082
},
{
"Type": "state"
}
]
}