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.
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.
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.
- Fork the sample repo
- Create the following required encrypted secrets for the sample
|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
Deploy via Azure CLI
See the README.md files within each folder for scripts to deploy the sample using the Azure CLI.