Skip to main content

Azure Container Apps Configurations in Azure Portal

🧱 Service Inputs

Azure Container Apps – Portal Configuration Steps

1.

Login to Azure Portal

Open the Azure Portal and sign in using your Azure account.

https://portal.azure.com/auth/login/
2.

Go to Resource group

Go to Resource group in Azure Portal
3.

Select the target Resource Group

Target Resource Group:
dev-ts-Resource-group
Select the target Resource Group
3.

Select the Container App

Select the Azure Container App
4.

Go to Containers → Environment variables → Add → Save as a new revision

Name:
AC_TS_ENV
Source:
Manual entry
Value:
dev
Add environment variable and save as new revision
5.

Go to Scale → Set Min Replicas to 0 (from 1) → Save as a new revision

Min Replicas:
0
Set minimum replicas to zero and save as a new revision
6.

Ingress

Go to Ingress → Select Ingress traffic as Accepting traffic from anywhere → Save

Ingress traffic:
Accepting traffic from anywhere
Gateway ingress set to accepting traffic from anywhere
7.

Custom domains (Only for Gateway)

Go to NetworkingCustom domainsAdd custom domain → Set TLS/SSL certificate to Managed certificate.

Domain:
dev.api.tidyshelves.com

Make a note of the following values and add them as Cloudflare DNS records.

CNAME
CNAME Host:
dev.api

⚠️ Copy and save the Value shown in Azure Portal, for later use of CNAME record in Cloudflare

TXT
TXT Host:
asuid.dev.api

⚠️ Copy and save the Value shown in Azure Portal, for later use of TXT record in Cloudflare

Azure Container Apps custom domain configuration (shared for Dev/QA and Prod)
8.

Go to Cloudflare → Login

Open Cloudflare and log in using your Cloudflare account.

https://www.cloudflare.com/en-gb/
Login to Cloudflare dashboard
9.

Go to Account Home

From the Cloudflare dashboard, click on the domain listed under your account.

Domain:
tidyshelves.com
Select domain in Cloudflare account home
10.

Go to DNS → Records → Add record (CNAME)

Type:
CNAME
Name:
dev.api

Target: ⚠️ Previously Saved CNAME Host Value

Proxy status:
Off
TTL:
Auto
Comment:
TS AZURE DEV

Click Save to add the DNS record.

Add CNAME record in Cloudflare DNS
11.

Records → Add record (TXT)

Type:
TXT
Name:
asuid.dev.api

Content: ⚠️ Previously Saved TXT Host Value

TTL:
Auto
Comment:
TS AZURE DEV

Click Save to add the DNS record.

Add TXT record in Cloudflare DNS
12.

Azure Portal – Complete Custom Domain Setup

Go back to Azure Portal

Return to the Azure Container App Custom domains page.

Click Validate — both CNAME and TXT status should show

Then click Add.

Note: Certificate creation and binding may take some time.

Validate CNAME and TXT successfully, then click Add in Azure Portal

Done

After sometime, the Custom domain with SSL binding should get created and will be visible.

Add binding and select Container Apps Environment