Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.02 KB

README.md

File metadata and controls

42 lines (26 loc) · 1.02 KB

Azure Container Apps with Dapr

Simple demo showing Azure Container Apps with Dapr components.

Deployment

Use following commands to deploy this demo to Azure.

Infrastructure

Following bicep template will create necessary resources in resource group azure-container-apps.

./bicep/infrastructure/infrastructure.sh

Docker images

You will need to build and push docker images to container registry.

az acr login -n <container_registry_name> #eg. academocrmb

export ACR_LOGIN_SERVER=<container_registry_login_server> #eg. academocrmb.azurecr.io

./scripts/docker-build.sh
./scripts/docker-push.sh

Services

Once infrastructure is ready and you have build and pushed docker images, run following command to deploy services to Azure Container Apps.

./bicep/services/services.sh

Making changes

Each docker image is tagged with <branch_name>-<commit_sha>. When introducing new changes make sure to commit them first, before building and pushing images to container registry.