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.
Versione
Provenienza
- Digest del contenuto
- sha256:c1eb30d5ef37dcce086f621178f57be812cac865c42d96609654bed5c769b7b8
- Pubblicato
- 2026-11-19T08:04:00Z
- Identità di firma
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Firma
- Ufficialeapplication/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
Riferimento a questa versione
oci://hub.aggrega.ai/recipe/arm/server-container-apps:1.0.0- Destinazione
- —
- Implementa
- core/compute/server:1.1.0
Fornisce
Modelli di puntatori deterministici che questa ricetta collega per i consumatori.
Nessun modello provides dichiarato.
Workload
Nessun modello di workload dichiarato.
Variabili locali
| Nome | Modello |
|---|---|
| cpu_millicores | {{- $c := toString (optional (optional .infra "compute" dict) "cpu" "") -}} {{- if regexMatch `^[0-9]+m
|
| memory_mib | {{- $m := toString (optional (optional .infra "compute" dict) "memory" "") -}} {{- if regexMatch `^[0-9]+Mi
|
| 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 }} |
Mappatura dei valori
Nessuna mappatura dei valori dichiarata.
Relazioni
Archi tipizzati da e verso altre entità pubblicate. Un riferimento senza una destinazione pubblicata viene mostrato come arco interrotto anziché come link.
Usa
- implementaimplementa
core/compute/server:1.1.0
Usato da
Nulla nel catalogo dipende da questa entità.