forked from quarkusio/todo-demo-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.devfile.yaml
More file actions
36 lines (36 loc) · 1.15 KB
/
Copy path.devfile.yaml
File metadata and controls
36 lines (36 loc) · 1.15 KB
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
schemaVersion: 2.2.0
metadata:
name: quarkus-todo
components:
- name: tooling-container
container:
env:
- name: KUBEDOCK_ENABLED
value: 'true'
- name: DOCKER_HOST
value: 'tcp://127.0.0.1:2475'
- name: TESTCONTAINERS_RYUK_DISABLED
value: 'true'
- name: QUARKUS_DATASOURCE_DEVSERVICES_VOLUMES_ # <-- https://quarkus.io/guides/databases-dev-services#quarkus-datasource-config-group-dev-services-build-time-config_quarkus.datasource.devservices.volumes-volumes
value: '/var/lib/postgresql/'
image: quay.io/devfile/universal-developer-image:latest
memoryRequest: 2Gi
memoryLimit: 8Gi
cpuRequest: 1000m
cpuLimit: 4000m
endpoints:
- exposure: none
name: kubedock
protocol: tcp
targetPort: 2475
commands:
- id: run
exec:
label: '1. Quarkus Dev'
component: tooling-container
commandLine: mvn quarkus:dev
- id: podman-run
exec:
label: '2. Podman Run Sample'
component: tooling-container
commandLine: podman run --name httpd -d -p 8080:8080 python python -m http.server 8080