Created
September 18, 2020 16:10
-
-
Save svor/fa4a35c8b789b770293d5c620a8bde5b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
metadata: | |
name: java-web-vertx-5bml6 | |
projects: | |
- name: quarkus-quickstarts | |
source: | |
location: 'https://github.com/quarkusio/quarkus-quickstarts.git' | |
type: git | |
sparseCheckoutDir: getting-started | |
components: | |
- mountSources: true | |
endpoints: | |
- name: 8080-tcp | |
port: 8080 | |
memoryLimit: 3000Mi | |
type: dockerimage | |
volumes: | |
- name: m2 | |
containerPath: /home/user/.m2 | |
image: 'quay.io/eclipse/che-quarkus:7.16.2' | |
alias: quarkus | |
env: | |
- value: '' | |
name: MAVEN_CONFIG | |
- 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/user | |
name: JAVA_OPTS | |
- value: $(JAVA_OPTS) | |
name: MAVEN_OPTS | |
- id: redhat/quarkus-java11/latest | |
type: chePlugin | |
apiVersion: 1.0.0 | |
commands: | |
- name: maven package | |
actions: | |
- workdir: '${CHE_PROJECTS_ROOT}/quarkus-quickstarts/getting-started' | |
type: exec | |
command: mvn package | |
component: quarkus | |
- name: run quarkus app | |
actions: | |
- workdir: '${CHE_PROJECTS_ROOT}/quarkus-quickstarts/getting-started' | |
type: exec | |
command: 'mvn compile quarkus:dev' | |
component: quarkus | |
- name: Debug remote java application | |
actions: | |
- referenceContent: | | |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "java", | |
"name": "Debug (Attach) - Remote", | |
"request": "attach", | |
"hostName": "localhost", | |
"port": 5005 | |
}] | |
} | |
type: vscode-launch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment