Skip to content

Commit 8003fa5

Browse files
committed
Azure Container Apps
1 parent 8cf18e8 commit 8003fa5

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

deployments/Azure/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,34 @@ az webapp config appsettings set \
420420
"Monitoring__AzureApplicationInsights__InstrumentationKey=$instrumentationKey"
421421
```
422422

423+
- Create Azure Container Apps Environment
424+
```
425+
az containerapp env create \
426+
--name ClassifiedAds-DEV \
427+
--resource-group ClassifiedAds_DEV \
428+
--location southeastasia
429+
```
430+
431+
- Create Azure Container Apps
432+
```
433+
az containerapp create \
434+
--name classifiedads-webmvc \
435+
--resource-group ClassifiedAds_DEV \
436+
--environment ClassifiedAds-DEV \
437+
--image phongnguyend/classifiedads.webmvc \
438+
--target-port 443 \
439+
--ingress external \
440+
--cpu 0.5 --memory 1.0Gi
441+
```
442+
443+
- Redeploy Azure Container Apps
444+
```
445+
az containerapp update \
446+
--name classifiedads-webmvc \
447+
--resource-group ClassifiedAds_DEV \
448+
--image phongnguyend/classifiedads.webmvc
449+
```
450+
423451
- Create Kubernetes Cluster
424452
```
425453
az aks create --resource-group "ClassifiedAds_DEV" \

0 commit comments

Comments
 (0)