Skip to content

Commit 2586438

Browse files
committed
Improve naming and README
1 parent 7f523a0 commit 2586438

File tree

4 files changed

+33
-31
lines changed

4 files changed

+33
-31
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,18 @@ It will look like the following:
153153

154154
> NOTE: It may take 5-10 minutes after you see 'SUCCESS' for the application to be fully deployed. If you see a "Python Developer" welcome screen or an error page, then wait a bit and refresh the page. See [guide on debugging App Service deployments](docs/appservice.md).
155155

156+
### Deploying to Azure Container Apps
157+
158+
By default, this project is deployed to Azure App Service. If you want to deploy to Azure Container Apps, please run:
159+
160+
```bash
161+
cd containerapps
162+
azd env new
163+
azd env set DEPLOYMENT_TARGET containerapps
164+
azd up
165+
```
166+
The `.azure/{env name}/.env` file can be found in the `containerapps` folder.
167+
156168
### Deploying again
157169

158170
If you've only changed the backend/frontend code in the `app` folder, then you don't need to re-provision the Azure resources. You can just run:

aca-host/README.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

containerapps/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Deploying on Azure Container Apps
2+
3+
Due to [a limitation](https://github.com/Azure/azure-dev/issues/2736) of azd, the azure.yaml file for deploying to Azure Container Apps lives here.
4+
To deploy to azure container apps, please run from project root folder:
5+
6+
```bash
7+
cd containerapps
8+
azd env new
9+
azd env set DEPLOYMENT_TARGET containerapps
10+
azd up
11+
```
12+
13+
# Customizing Workload Profile
14+
The default workload profile is Consumption. If you want to use a dedicated workload profile like D4, please run:
15+
16+
```bash
17+
azd env AZURE_CONTAINER_APPS_WORKLOAD_PROFILE D4
18+
```
19+
20+
For a full list of workload profiles, please check [here](https://learn.microsoft.com/en-us/azure/container-apps/workload-profiles-overview#profile-types).
21+
Please note dedicated workload profiles have a different billing model than Consumption plan. Please check [here](https://learn.microsoft.com/en-us/azure/container-apps/billing) for details.
File renamed without changes.

0 commit comments

Comments
 (0)