-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathche-editor.yaml
40 lines (40 loc) · 1.1 KB
/
che-editor.yaml
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
inline:
endpoints:
- name: "theia"
public: true
targetPort: 3000
attributes:
protocol: http
type: ide
secure: true
cookiesAuthEnabled: true
discoverable: false
containers:
- name: theia-ide
image: "docker.io/browork/ide:latest"
env:
- name: THEIA_PLUGINS
value: local-dir:///plugins
volumeMounts:
- name: plugins
path: "/plugins"
- name: theia-local
path: "/home/theia/.theia"
mountSources: true
ports:
- exposedPort: 3000
memoryLimit: "512M"
cpuLimit: 1000m
cpuRequest: 100m
initContainers:
- name: remote-runtime-injector
image: "quay.io/eclipse/che-theia-endpoint-runtime-binary:next"
volumeMounts:
- name: remote-endpoint
path: "/remote-endpoint"
ephemeral: true
env:
- name: PLUGIN_REMOTE_ENDPOINT_EXECUTABLE
value: /remote-endpoint/plugin-remote-endpoint
- name: REMOTE_ENDPOINT_VOLUME_NAME
value: remote-endpoint