-
Notifications
You must be signed in to change notification settings - Fork 83
/
LaunchDescriptor.json
49 lines (48 loc) · 1.79 KB
/
LaunchDescriptor.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "LaunchDescriptor.json",
"title": "LaunchDescriptor",
"description": "Specifies how a module is deployed and undeployed",
"type": [ "object", "null" ],
"additionalProperties" : false,
"properties": {
"exec": {
"description": "Process execution with string passed to exec and %p is replaced with assigned port",
"type": ["string", "null"]
},
"cmdlineStart": {
"description": "Process start instruction where the idea is that shell or process spawned thereof goes into background on its own. The string is passed to Bourne shell (Unix Only) and %p is replaced with the assigned port",
"type": ["string", "null"]
},
"cmdlineStop": {
"description": "Process stop instruction where the idea is that shell or process spawned thereof stops service",
"type": ["string", "null"]
},
"dockerImage": {
"description": "Deploy using Docker container and string is Docker image",
"type": ["string", "null"]
},
"dockerPull": {
"description": "Whether Docker should attempt pulling",
"type": "boolean"
},
"dockerCMD": {
"description": "Override/set CMD of Dockerfile",
"type": ["array", "null"],
"items": {"type": "string"}
},
"dockerArgs": {
"description": "Create Container JSON object passed to create container call for Docker. See https://docs.docker.com/engine/api/v1.37/#operation/ContainerCreate",
"type": "object",
"additionalProperties": true
},
"waitIterations": {
"description": "Number of iterations that Okapi waits for module to be fully ready",
"type": "integer"
},
"env": {
"description": "Default environment for deployment",
"$ref": "EnvEntryList.json"
}
}
}