Skip to content

Commit

Permalink
Theia stacks from Florent's theia prototype (#8600)
Browse files Browse the repository at this point in the history
  • Loading branch information
skabashnyuk committed Feb 5, 2018
1 parent 531cbb0 commit cc8b22e
Show file tree
Hide file tree
Showing 2 changed files with 186 additions and 0 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
134 changes: 134 additions & 0 deletions ide/che-core-ide-stacks/src/main/resources/stacks.json
@@ -1,4 +1,138 @@
[
{
"id": "java-theia-docker",
"creator": "ide",
"name": "Java Theia (docker)",
"description": "Che development + Theia in a sidecar container (docker)",
"scope": "general",
"tags": [
"Java 1.8, Theia"
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"theia": {
"attributes": {},

"servers": {
"theia": {
"protocol": "http",
"port": "3000",
"attributes": {
"type": "ide"
}
}
},
"volumes": {
"projects": {
"path": "/projects"
}
},
"installers": [],
"env": {}
},
"dev-machine": {
"attributes": {},
"servers": {
"theia-dev": {
"protocol": "http",
"port": "3030"
}
},
"volumes": {
"projects": {
"path": "/projects"
}
},
"installers": [],
"env": {}
}
},
"recipe": {
"type": "compose",
"content": "services:\n theia:\n image: theiaide/theia\n entrypoint:\n - yarn\n - theia\n - start\n - /projects\n - --hostname=0.0.0.0\n mem_limit: 1073741824\n dev-machine:\n image: eclipse/che-dev:nightly\n mem_limit: 2147483648\n depends_on:\n - theia",
"contentType": "application/x-yaml"
}
}
},
"defaultEnv": "default",
"name": "theia",
"projects": [],
"commands": []
},
"stackIcon": {
"name": "type-theia.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "java-theia-openshift",
"creator": "ide",
"name": "Java Theia (openshift)",
"description": "Che development + Theia in a sidecar container (openshift)",
"scope": "general",
"tags": [
"Java 1.8, Theia"
],
"workspaceConfig": {
"environments": {
"default": {
"machines": {
"ws/theia": {
"attributes": {},

"servers": {
"theia": {
"protocol": "http",
"port": "3000",
"attributes": {
"type": "ide"
}
}
},
"volumes": {
"projects": {
"path": "/projects"
}
},
"installers": [],
"env": {}
},
"ws/dev": {
"attributes": {},
"servers": {
"theia-dev": {
"protocol": "http",
"port": "3030"
}
},
"volumes": {
"projects": {
"path": "/projects"
}
},
"installers": [],
"env": {}
}
},
"recipe": {
"type": "openshift",
"content": "---\nkind: List\nitems:\n-\n apiVersion: v1\n kind: Pod\n metadata:\n name: ws\n spec:\n containers:\n -\n image: theiaide/theia\n command:\n - yarn\n args:\n - theia\n - start\n - /projects\n - --hostname=0.0.0.0\n name: theia\n -\n image: eclipse/che-dev:nightly\n name: dev",
"contentType": "application/x-yaml"
}
}
},
"defaultEnv": "default",
"name": "theia",
"projects": [],
"commands": []
},
"stackIcon": {
"name": "type-theia.svg",
"mediaType": "image/svg+xml"
}
},
{
"id": "java-centos-mysql",
"creator": "ide",
Expand Down

0 comments on commit cc8b22e

Please sign in to comment.