-
Notifications
You must be signed in to change notification settings - Fork 0
/
devfile.yaml
58 lines (58 loc) · 1.69 KB
/
devfile.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
56
57
58
apiVersion: 1.0.0
metadata:
generateName: quarkus-shw-
projects:
- name: quarkus-workshop-super-heroes
source:
location: 'https://github.com/Red-Hat-Developer-Games/quarkus-workshop/raw/main/quarkus-workshop-super-heroes/dist/quarkus-workshop-super-heroes.zip'
type: zip
components:
- id: redhat/quarkus-java11/latest
type: chePlugin
- mountSources: true
endpoints:
- name: 8080-ui
port: 8080
- name: 8081-tests
port: 8081
- name: 8082-fight
port: 8082
- name: 8083-hero
port: 8083
- name: 8084-villain
port: 8084
- name: 4200-ui
port: 4200
- attributes:
path: /swagger-ui
name: swagger-ui-fights
port: 8082
memoryLimit: 3072Mi
type: dockerimage
volumes:
- name: m2
containerPath: /home/jboss/.m2
alias: maven
image: 'quay.io/cvicens/crw-quarkus-stack:2.5'
env:
- value: '-XX:MaxRAMPercentage=50.0 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xms20m -Djava.security.egd=file:/dev/./urandom -Duser.home=/home/jboss'
name: JAVA_OPTS
- value: $(JAVA_OPTS)
name: MAVEN_OPTS
commands:
- name: Attach remote debugger
actions:
- referenceContent: |
{
"version": "0.2.0",
"configurations": [
{
"type": "java",
"request": "attach",
"name": "Attach to Remote Quarkus App",
"hostName": "localhost",
"port": 5005
}
]
}
type: vscode-launch