This repository is an Azure Developer CLI (azd) template that provisions an Azure Container Apps-hosted FastAPI service, an Azure Container Registry, and AI Foundry (Azure OpenAI) deployment. It uses Bicep for infrastructure in the infra/ folder and an azure.yaml file to wire services to infra outputs.
-
Make sure this repository is public on GitHub (example location:
https://github.com/guming-learning/cobo-container-agent-azd-template) and that you haveazdinstalled. -
Create a new empty folder and initialize the template locally using the repository identifier (owner/repo):
azd init --template guming-learning/cobo-container-agent-azd-template
Alternatively you can pass the full HTTPS repo URL:
azd init --template https://github.com/guming-learning/cobo-container-agent-azd-template
-
Authenticate with Azure (only required once per machine):
azd auth login
-
Provision and deploy to Azure:
azd up
- The template expects certain environment values; sensible defaults are provided in
.azure/environment.defaults.jsoncommitted with the template. You will be prompted duringazd upand can modify values in.azureafter init. - To avoid committing secrets or environment overrides, the
.azurefolder is by default ignored; see.gitignore.
This template is released under the MIT license. See LICENSE for details.