File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -76,15 +76,7 @@ dotnet dev-certs https --trust
7676
7777```
7878
79- 1.2 Running the container with cert
80-
81- ```
82- docker pull mcr.microsoft.com/dotnet/samples: aspnetapp
83- docker run --rm -it -p 8000:80 -p 8001:443 -e ASPNETCORE_URLS="https://+;http://+" -e ASPNETCORE_HTTPS_PORTS=8001 -e ASPNETCORE_Kestrel__ Certificates__ Default__ Password="mypassword234" -e ASPNETCORE_Kestrel__ Certificates__ Default__ Path=/https/dotnetapi-boilerplate.pfx -v ${HOME}/.aspnet/https:/https/
84-
85- ```
86-
87- 2. The application will be available at `http://localhost:7000` and `https://localhost:7001` (or the configured URL).
79+ 2. The application will be available at `http://localhost:8000` and `https://localhost:8001` (or the configured URL).
8880
8981### Health Check Endpoint
9082
Original file line number Diff line number Diff line change 1- @NetAPI_HostAddress = http://localhost:7000
1+ @NetAPI_HostAddress = http://localhost:8000
22
33GET {{NetAPI_HostAddress }}/health/
44Accept: application/json
Original file line number Diff line number Diff line change 55 "commandName" : " Project" ,
66 "dotnetRunMessages" : true ,
77 "launchBrowser" : true ,
8- "applicationUrl" : " http://localhost:7000 " ,
8+ "applicationUrl" : " http://localhost:8000 " ,
99 "environmentVariables" : {
1010 "ASPNETCORE_ENVIRONMENT" : " Development"
1111 }
1414 "commandName" : " Project" ,
1515 "dotnetRunMessages" : true ,
1616 "launchBrowser" : false ,
17- "applicationUrl" : " https://localhost:7001 ;http://localhost:7000 " ,
17+ "applicationUrl" : " https://localhost:8001 ;http://localhost:8000 " ,
1818 "environmentVariables" : {
1919 "ASPNETCORE_ENVIRONMENT" : " Development"
2020 }
You can’t perform that action at this time.
0 commit comments