...
Code Block |
---|
{ "id": "uniqueid", "shortnamekey": "shortname", "label": "My Service Display Name", "image": "ndslabs/myimage:latest", "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": "/workspace", "name": "cloud9go" } ], "readinessProbe" : { "type" : "http", "path" : "/favicon.ico", "port" : 80, "initialDelay": 10, "timeout" : 600 }, "resourceLimits": { "cpuMax": "1", "cpuDefault": "100m", "memMax": "2Gi", "memDefault": "1Gi" }, "tags": [ "Go", "Development Environment" ] } |
...