-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.devfilev2-theia.yaml
55 lines (55 loc) · 1.36 KB
/
.devfilev2-theia.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
schemaVersion: 2.1.0
metadata:
generateName: my-quarkus2
attributes:
controller.devfile.io/storage-type: ephemeral
components:
- name: development-tooling
container:
image: quay.io/devfile/universal-developer-image:ubi8-0e189d9
env:
- name: QUARKUS_HTTP_HOST
value: 0.0.0.0
memoryLimit: 4Gi
cpuLimit: 1500m
volumeMounts:
- name: m2
path: /home/user/.m2
endpoints:
- name: quarkus-development-server
targetPort: 8080
exposure: public
secure: false
protocol: http
- name: debug
targetPort: 5005
exposure: none
secure: false
protocol: tcp
- name: tests
targetPort: 8081
exposure: none
secure: false
protocol: tcp
- name: m2
volume:
size: 1G
commands:
- id: package
exec:
label: "1. Package the application"
component: development-tooling
commandLine: "./mvnw package"
workingDir: $PROJECT_SOURCE
group:
kind: build
isDefault: true
- id: start-dev
exec:
label: "2. Start Development mode (Hot reload + debug)"
component: development-tooling
commandLine: "./mvnw compile quarkus:dev"
workingDir: $PROJECT_SOURCE
group:
kind: run
isDefault: true