-
Notifications
You must be signed in to change notification settings - Fork 17
/
devfile.yaml
45 lines (45 loc) · 1.31 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
apiVersion: 1.0.0
metadata:
generateName: quarkus-spring-devs-
projects:
- name: examples
source:
location: 'https://github.com/quarkus-for-spring-developers/examples.git'
type: git
branch: main
components:
- type: chePlugin
id: redhat/quarkus-java11/latest
- type: dockerimage
alias: maven
image: 'quay.io/edeandrea/plugin-java11-rhel8-mandrel:21.0.0.0.Final-java11'
env:
- name: JAVA_OPTS
value: '-XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Djava.security.egd=file:/dev/./urandom -Duser.home=/home/jboss'
- name: MAVEN_OPTS
value: $(JAVA_OPTS)
memoryLimit: 2560Mi
mountSources: true
volumes:
- name: m2
containerPath: /home/jboss/.m2
endpoints:
- name: application
port: 8080
commands:
- name: Attach remote debugger
actions:
- type: vscode-launch
referenceContent: |
{
"version": "0.2.0",
"configurations": [
{
"type": "java",
"request": "attach",
"name": "Attach to Remote App",
"hostName": "localhost",
"port": 5005
}
]
}