Last active
September 16, 2019 15:05
-
-
Save slemeur/f824bca34d37a8bcdd7751eadb892ce7 to your computer and use it in GitHub Desktop.
devfile-vertx-sample
This file contains 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
--- | |
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