...
Code Block |
---|
{ "id": "uniqueid", "logo": "URL", "key": "shortname", "label": "My Service Display Name", "image": { "registry" "image": "docker.io", "name" : "ndslabs/myimage", "tags" : [ "latest", "v1", "v2", "v3" ] }, "display": "stack", "access": "external", "description": "Description of my service", "depends": [ { "id": "dependencyid", "required": true }, ], "config": [ { "name": "ENV_VAR", "value": "value", "label": "Label", "canOverride": true, "isPassword": true }, ], "command": [ "somecommand" ], "args" : [ "-someargument" ], "ports": [ { "port": 80, "protocol": "http" }, { "port": 8000, "protocol": "http" }, { "port": 8080, "protocol": "http" } ], "repositories": [ { "name": "https://github.com/golang/example", "type": "git" } ], "developerEnvironment" : "devenvId", "volumeMounts":[ { "mountPath": "/data" }, { "mountPath": "/junk" } ], "readinessProbe" : { "type" : "http", "path" : "/favicon.ico", "port" : 80, "initialDelay": 10, "timeout" : 600 }, "resourceLimits": { "cpuMax": "1", "cpuDefault": "100m", "memMax": "2Gi", "memDefault": "1Gi" }, "tags": [ "tagId1", "tagId2" ] } |
...