Skip to content

Azure Sample showing how to connect and call multiple container apps within the same environment. Shows the approach to use both with and without Dapr.

License

Notifications You must be signed in to change notification settings

Azure-Samples/container-apps-connect-multiple-apps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Container Apps Sample - multi-container communication

The following sample shows how to use Azure Container Apps to have one container call another within the environment. This is possible both with or without Dapr. Dapr will provide mTLS, auto-retries, and additional telemetry if enabled.

The nodeApp (container-1-node) is an express.js API that will call a /hello endpoint. This route will call the dotnetApp (container-2-dotnet) to return a message.

To view the version of this solution that does not utilize Dapr, see the with-fqdn folder. To view the version of this solution that does utilize Dapr, see the with-dapr folder.

Deploy and Run

Deploy via GitHub Actions (recommended)

The GitHub Actions will deploy an environment that includes both the with-fqdn and with-dapr versions of the solution.

  1. Fork the sample repo
  2. Create the following required encrypted secrets for the sample
Name Value
AZURE_CREDENTIALS The JSON credentials for an Azure subscription. Learn more
RESOURCE_GROUP The name of the resource group to create
PACKAGES_TOKEN A GitHub personal access token with the packages:read scope. Learn more

Deploy via Azure CLI

See the README.md files within each folder for scripts to deploy the sample using the Azure CLI.

About

Azure Sample showing how to connect and call multiple container apps within the same environment. Shows the approach to use both with and without Dapr.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages