I am using Azure Container Apps to host our Containers. I want one instance of an Azure Container App to host two different containers (these are services that share a similar lifecycle). This is possible to do manually via the Azure portal, but I cannot see a way to automate it via the Azure CLI.
I have been using the az containerapp up
CLI command to create an App with a single container.
https://docs.microsoft.com/en-us/cli/azure/containerapp?view=azure-cli-latest#az-containerapp-up
But is there a way with the CLI to create an app that manages 2 containers?
Thanks
CodePudding user response:
The az containerapp compose create command let you specify a Compose file.
https://docs.microsoft.com/en-us/cli/azure/containerapp/compose?view=azure-cli-latest