Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ These steps require the Azure Container Apps extension, *containerapp*.
#!/bin/bash
APP_ENV_NAME=<app-env-name> # Use a unique name for the environment, such as "python-container-env".
az containerapp env create \
--name python-container-env \
--name $APP_ENV_NAME \
--resource-group $RESOURCE_GROUP_NAME \
--location $LOCATION
```
Expand All @@ -760,11 +760,11 @@ These steps require the Azure Container Apps extension, *containerapp*.
```azurecli
UA_CLIENT_ID=$(az identity show \
--name "$UA_MANAGED_IDENTITY_NAME" \
--resource-group "$RESOURCE_GROUP" \
--resource-group "$RESOURCE_GROUP_NAME" \
--query clientId -o tsv)
UA_RESOURCE_ID=$(az identity show \
--name "$UA_MANAGED_IDENTITY_NAME" \
--resource-group "$RESOURCE_GROUP" \
--resource-group "$RESOURCE_GROUP_NAME" \
--query id -o tsv)
```

Expand All @@ -786,8 +786,8 @@ These steps require the Azure Container Apps extension, *containerapp*.
```azurecli
az containerapp create \
--name "$CONTAINER_APP_NAME" \
--resource-group "$RESOURCE_GROUP" \
--environment "$APP_ENV" \
--resource-group "$RESOURCE_GROUP_NAME" \
--environment "$APP_ENV_NAME" \
--image "$REGISTRY_NAME.azurecr.io/$IMAGE_NAME" \
--target-port "$TARGET_PORT" \
--ingress external \
Expand All @@ -802,7 +802,7 @@ These steps require the Azure Container Apps extension, *containerapp*.
RUNNING_IN_PRODUCTION=1 \
AZURE_CLIENT_ID="$UA_CLIENT_ID" \
AZURE_SECRET_KEY="$AZURE_SECRET_KEY"
```
```

1. For Django only, migrate and create a database schema. (In the Flask sample app, it's done automatically, and you can skip this step.)

Expand Down