You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
963 B
43 lines
963 B
schemaVersion: 2.2.0
|
|
metadata:
|
|
name: eshop
|
|
components:
|
|
- attributes:
|
|
controller.devfile.io/merge-contribution: true
|
|
container:
|
|
endpoints:
|
|
- exposure: public
|
|
name: web
|
|
protocol: http
|
|
targetPort: 5032
|
|
- exposure: public
|
|
name: api
|
|
protocol: http
|
|
targetPort: 5033
|
|
image: registry.redhat.io/devspaces/udi-rhel8:3.5
|
|
memoryLimit: 4G
|
|
cpuLimit: 8000m
|
|
mountSources: true
|
|
sourceMapping: /projects
|
|
volumeMounts:
|
|
- name: nuget
|
|
path: /home/user/.nuget
|
|
name: tools
|
|
- name: nuget
|
|
volume:
|
|
size: 1G
|
|
commands:
|
|
- exec:
|
|
commandLine: dotnet run web
|
|
component: tools
|
|
group:
|
|
kind: run
|
|
workingDir: ${PROJECTS_ROOT}/src/Web/
|
|
id: run-web
|
|
- exec:
|
|
commandLine: dotnet run api
|
|
component: tools
|
|
group:
|
|
kind: run
|
|
workingDir: ${PROJECTS_ROOT}/src/PublicApi/
|
|
id: run-web
|
|
|