Sample ASP.NET Core 6.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
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
959 B

schemaVersion: 2.2.0
metadata:
name: eshop
components:
- attributes:
controller.devfile.io/merge-contribution: true
container:
endpoints:
- exposure: public
name: web
protocol: https
targetPort: 44315
- exposure: public
name: api
protocol: https
targetPort: 5099
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: 10G
commands:
- exec:
commandLine: dotnet run
component: tools
group:
kind: run
workingDir: ${PROJECTS_ROOT}/src/Web/
id: run-web
- exec:
commandLine: dotnet run
component: tools
group:
kind: run
workingDir: ${PROJECTS_ROOT}/src/PublicApi/
id: run-api