Cette page a été traduite automatiquement. Lire l’original en anglais.

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

OfficielSigné par une identité de signature que ce catalogue reconnaît comme éditeur officiel.
Empreinte du contenu
sha256:c1eb30d5ef37dcce086f621178f57be812cac865c42d96609654bed5c769b7b8
Publié
2026-11-19T08:04:00Z
Identité de signature
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Signature

  • Officielapplication/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

Référence à cette version

oci://hub.aggrega.ai/recipe/arm/server-container-apps:1.0.0
Cible
—
Implémente
core/compute/server:1.1.0

Fournit

Modèles de pointeurs déterministes que cette recette câble pour les consommateurs.

Aucun modèle provides déclaré.

Workload

Aucun modèle de charge de travail déclaré.

Variables locales

NomModèle
cpu_millicores{{- $c := toString (optional (optional .infra "compute" dict) "cpu" "") -}} {{- if regexMatch `^[0-9]+m server-container-apps 1.0.0 · Catalogue Aggrega $c -}}{{ atoi (trimSuffix "m" $c) }} {{- else if regexMatch `^[0-9]+(\.[0-9]{1,3})? server-container-apps 1.0.0 · Catalogue Aggrega $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 · Catalogue Aggrega $m -}}{{ atoi (trimSuffix "Mi" $m) }} {{- else if regexMatch `^[0-9]+Gi server-container-apps 1.0.0 · Catalogue Aggrega $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 }}

Correspondance des valeurs

Aucune correspondance des valeurs déclarée.

Relations

Arêtes typées vers et depuis d’autres entités publiées. Une référence sans cible publiée s’affiche comme une arête rompue plutôt que comme un lien.

Utilise

Utilisé par

Rien dans le catalogue ne dépend de cette entité.

Référence du concept Recipe

Le catalogue Aggrega — un index ouvert de composants, de fonctionnalités, de recettes et des plugins qui en assurent le rendu.

Conçu avec le système de design partagé d’Aggrega.

Confidentialité