Ta strona została przetłumaczona maszynowo. Przeczytaj oryginał w języku angielskim.

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.

Wersja

1.0.01.1.0

Pochodzenie

OficjalnyPodpisano tożsamością podpisującą, którą ten katalog uznaje za oficjalnego wydawcę.
Skrót zawartości
sha256:c1eb30d5ef37dcce086f621178f57be812cac865c42d96609654bed5c769b7b8
Opublikowano
2026-11-19T08:04:00Z
Tożsamość podpisująca
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Podpis

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

Referencja w tej wersji

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

Udostępnia

Deterministyczne szablony wskaźników, które ta receptura podłącza dla konsumentów.

Nie zadeklarowano szablonów provides.

Workload

Nie zadeklarowano szablonu obciążenia roboczego.

Zmienne lokalne

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

Mapowanie wartości

Nie zadeklarowano mapowania wartości.

Relacje

Typowane krawędzie do innych opublikowanych encji i od nich. Odwołanie bez opublikowanego celu jest renderowane jako przerwana krawędź, a nie jako łącze.

Używa

Używane przez

Nic w katalogu nie zależy od tej encji.

Dokumentacja pojęcia Recipe

Katalog Aggrega — otwarty indeks komponentów, funkcji, receptur oraz wtyczek, które je renderują.

Zbudowano przy użyciu wspólnego systemu projektowego Aggrega.

Prywatność