Skip to content

Instantly share code, notes, and snippets.

@slemeur
Last active September 16, 2019 15:05
Show Gist options
  • Save slemeur/f824bca34d37a8bcdd7751eadb892ce7 to your computer and use it in GitHub Desktop.
Save slemeur/f824bca34d37a8bcdd7751eadb892ce7 to your computer and use it in GitHub Desktop.
devfile-vertx-sample
---
apiVersion: 1.0.0
metadata:
generateName: java-web-vertx-
projects:
- name: java-web-vertx
source:
type: git
location: "https://github.com/che-samples/web-java-vertx"
components:
- type: chePlugin
id: redhat/java/latest
- type: dockerimage
alias: maven
image: quay.io/eclipse/che-java8-maven:nightly
env:
- name: JAVA_OPTS
value: "-Duser.home=/home/user"
- name: MAVEN_OPTS
value: $(JAVA_OPTS)
memoryLimit: 512Mi
endpoints:
- name: '8080/tcp'
port: 8080
mountSources: true
volumes:
- name: m2
containerPath: /home/user/.m2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment