Recipe

server-container-apps

The generic long-running server primitive as one Azure Container Apps app running the Release's image on infra.port, deployed from an Azure Resource Manager template through Microsoft's Azure Verified Modules module avm/res/app/container-app at 0.23.1, MIT, fetched from its git repository at that tag; entity.lock pins the tag's commit and archive digest. Reach for it where the Release deploys an Azure Resource Manager template, and for terraform/server-container-apps where it deploys Terraform. Its ingress is internal: only the other apps in its environment reach it. The environment is the operator's, required under infra.overrides; user-assigned identities and a private registry are optional. Only the app is emitted. The module deploys a telemetry resource by default, reporting to Microsoft; this Recipe turns it off. Each env entry an inject block dictates becomes a container variable, a neighbour's value written whole or inside literal text; a name Container Apps sets itself, and file, arg and other entries, halt by name. A value its producer declares sensitive halts the build: keep it in Key Vault and name the secret under infra.overrides.secrets, and the variable reads it through a Key Vault-backed app secret by secretRef, so no secret is written into the template. The app runs exactly infra.replicas replicas at the smallest Consumption size meeting infra.compute.cpu and memory.

Version

1.0.01.1.0

Provenance

OfficialSigned by a signing identity this catalog recognizes as an official publisher.
Content digest
sha256:c1eb30d5ef37dcce086f621178f57be812cac865c42d96609654bed5c769b7b8
Published
2026-11-19T08:04:00Z
Signing identity
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Signature

  • Officialapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:07440bd2b1e903db4edbebfbf5cb3865155893edf23e9dc463ebfdab9e300e20

Reference at this version

oci://hub.aggrega.ai/recipe/arm/server-container-apps:1.0.0
Target
—
Implements
core/compute/server:1.1.0

Provides

Deterministic pointer templates this recipe wires for consumers.

No provides templates declared.

Workload

No workload template declared.

Locals

NameTemplate
cpu_millicores{{- $c := toString (optional (optional .infra "compute" dict) "cpu" "") -}} {{- if regexMatch `^[0-9]+m server-container-apps 1.0.0 · Aggrega Catalog $c -}}{{ atoi (trimSuffix "m" $c) }} {{- else if regexMatch `^[0-9]+(\.[0-9]{1,3})? server-container-apps 1.0.0 · Aggrega Catalog $c -}} {{- $p := splitList "." $c -}}{{- $f := 0 -}} {{- if eq (len $p) 2 }}{{ $f = atoi (substr 0 3 (printf "%s000" (index $p 1))) }}{{ end -}} {{- add (mul (atoi (index $p 0)) 1000) $f -}} {{- end -}}
memory_mib{{- $m := toString (optional (optional .infra "compute" dict) "memory" "") -}} {{- if regexMatch `^[0-9]+Mi server-container-apps 1.0.0 · Aggrega Catalog $m -}}{{ atoi (trimSuffix "Mi" $m) }} {{- else if regexMatch `^[0-9]+Gi server-container-apps 1.0.0 · Aggrega Catalog $m -}}{{ mul (atoi (trimSuffix "Gi" $m)) 1024 }} {{- end -}}
size{{- $found := "" -}} {{- if and .locals.cpu_millicores .locals.memory_mib -}} {{- $mc := atoi .locals.cpu_millicores -}}{{- $mib := atoi .locals.memory_mib -}} {{- range list (list 250 512 "0.25" "0.5Gi") (list 500 1024 "0.5" "1.0Gi") (list 750 1536 "0.75" "1.5Gi") (list 1000 2048 "1.0" "2.0Gi") (list 1250 2560 "1.25" "2.5Gi") (list 1500 3072 "1.5" "3.0Gi") (list 1750 3584 "1.75" "3.5Gi") (list 2000 4096 "2.0" "4.0Gi") (list 2250 4608 "2.25" "4.5Gi") (list 2500 5120 "2.5" "5.0Gi") (list 2750 5632 "2.75" "5.5Gi") (list 3000 6144 "3.0" "6.0Gi") (list 3250 6656 "3.25" "6.5Gi") (list 3500 7168 "3.5" "7.0Gi") (list 3750 7680 "3.75" "7.5Gi") (list 4000 8192 "4.0" "8.0Gi") -}} {{- if and (not $found) (ge (index . 0) $mc) (ge (index . 1) $mib) -}} {{- $found = printf "%s/%s" (index . 2) (index . 3) -}} {{- end -}} {{- end -}} {{- end -}} {{- $found -}}
size_cpu{{ if .locals.size }}{{ index (splitList "/" .locals.size) 0 }}{{ end }}
size_memory{{ if .locals.size }}{{ index (splitList "/" .locals.size) 1 }}{{ end }}

Values mapping

No values mapping declared.

Relationships

Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.

Uses

Used by

Nothing in the catalog depends on this entity.

Recipe concept reference

The Aggrega catalog — an open index of components, features, recipes, and the plugins that render them.

Built with the shared Aggrega design system.

Privacy