Skip to content

Instantly share code, notes, and snippets.

@metlos
Created October 6, 2020 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save metlos/d4cb08f76a582b6226e3a741743e2e2c to your computer and use it in GitHub Desktop.
Save metlos/d4cb08f76a582b6226e3a741743e2e2c to your computer and use it in GitHub Desktop.
apiVersion: v2
publisher: eclipse
name: che-theia
version: next
type: Che Editor
displayName: theia-ide
title: Eclipse Theia development version.
description: Eclipse Theia, get the latest release each day.
icon: https://raw.githubusercontent.com/theia-ide/theia/master/logo/theia-logo-no-text-black.svg?sanitize=true
category: Editor
repository: https://github.com/eclipse/che-theia
firstPublicationDate: "2019-03-07"
spec:
endpoints:
- name: "theia"
public: true
targetPort: 3100
attributes:
protocol: http
type: ide
secure: true
cookiesAuthEnabled: true
discoverable: false
requireSubdomain: true
- name: "webviews"
public: true
targetPort: 3100
attributes:
protocol: http
type: webview
secure: true
cookiesAuthEnabled: true
discoverable: false
unique: true
requireSubdomain: true
- name: "theia-dev"
public: true
targetPort: 3130
attributes:
protocol: http
type: ide-dev
discoverable: false
- name: "theia-redirect-1"
public: true
targetPort: 13131
attributes:
protocol: http
discoverable: false
- name: "theia-redirect-2"
public: true
targetPort: 13132
attributes:
protocol: http
discoverable: false
- name: "theia-redirect-3"
public: true
targetPort: 13133
attributes:
protocol: http
discoverable: false
containers:
- name: theia-ide
image: "quay.io/eclipse/che-theia:next"
env:
- name: THEIA_PLUGINS
value: local-dir:///plugins
- name: HOSTED_PLUGIN_HOSTNAME
value: 0.0.0.0
- name: HOSTED_PLUGIN_PORT
value: "3130"
- name: THEIA_HOST
value: 127.0.0.1
volumes:
- mountPath: "/plugins"
name: plugins
mountSources: true
ports:
- exposedPort: 3100
- exposedPort: 3130
- exposedPort: 13131
- exposedPort: 13132
- exposedPort: 13133
memoryLimit: "512M"
initContainers:
- name: remote-runtime-injector
image: "quay.io/eclipse/che-theia-endpoint-runtime-binary:next"
volumes:
- mountPath: "/remote-endpoint"
name: remote-endpoint
ephemeral: true
env:
- name: PLUGIN_REMOTE_ENDPOINT_EXECUTABLE
value: /remote-endpoint/plugin-remote-endpoint
- name: REMOTE_ENDPOINT_VOLUME_NAME
value: remote-endpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment