Component
core/compute/server
A generic long-running server primitive. It adds no fields of its own; what it contributes is its operational type, `server` — long-running, stateless compute that expects inbound application traffic. An Aggregate declares this for a component that stays up and serves requests, rather than `worker`, with zero inbound application ports, or the run-once `task`. On a Kubernetes cluster it is a Deployment behind a ClusterIP Service. In an AWS account with an ECS cluster and a VPC, terraform/server-ecs and cloudformation/server-ecs run it as an Amazon ECS service on Fargate. In a Google Cloud project with a VPC network, terraform/server-cloud-run runs it as a Cloud Run service; in an Azure subscription with a Container Apps environment, terraform/server-container-apps as a container app. On Docker Compose, compose/server runs it, publishing no host port unless asked. The catalog pins no image, so nothing renders until the Release sets `infra.image`. The image is the Release's own code, so an edge from this component delivers what its `inject:` block dictates, and no declared socket narrows the mechanism: `env` entries become variables on every realization, `file` entries files everywhere but on Amazon ECS and Cloud Run, and `arg` or any other mechanism is refused by name, as no realization renders a command line. The component's own `inject:` block takes `env` entries too. A `core/secret-value` attachment's value is written into the rendered workload in the clear on every realization, and on Docker Compose so is a `core/referenced-secret` attachment's origin; no other realization delivers one, none delivers `core/random-password`, and the helm realization refuses either by name.
バージョン
来歴
- コンテンツダイジェスト
- sha256:bdaffb56584849a2e4ed1b7edba2e16d2b319fbfb8f5d37e768d2205c78784b4
- 公開日
- 2026-11-15T08:08:59Z
- 署名 ID
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
署名
- 公式application/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:3b0acfa932096664bbb18ab36bf510be96a8e8e8ff1ab77c1ce948f7b7dec212
このバージョンの参照
oci://hub.aggrega.ai/component/core/compute/server:1.1.0開発者パラメーター
開発者が Aggregate で設定する値です。
BaseComponents#/schemas/BaseComponentParameter を拡張
運用担当者によるサイジング
運用担当者が環境ごとに調整するインフラストラクチャのサイジングです。
| 名前 | 型 | デフォルト | 必須 | 説明 |
|---|---|---|---|---|
| image | string | — | いいえ | Container image serving the application. |
| port | integer (min 1024, max 65535) | 8080 | いいえ | Port the container listens on. On Kubernetes the fronting Service carries inbound traffic to it; on Amazon ECS it is the container port a load balancer target group the Release names sends traffic to; on Cloud Run it is the port requests are sent to, which the container is also handed as PORT; on Container Apps it is the ingress's target port, which the container is also handed as CONTAINER_APP_PORT; on Docker Compose it is the port the service answers at on the Compose network, and the one infra.published_port forwards to. |
| published_port | integer (min 1024, max 65535) | — | いいえ | Port published on the host's loopback address, 127.0.0.1, on Docker Compose, forwarding to infra.port inside the container; any process on this machine can reach it there. Unset, nothing is published. Kubernetes realizations refuse it; reach the Service with kubectl port-forward, or attach core/public-ingress. |
| replicas | integer (min 1) | 1 | いいえ | Replica count, the number of tasks on Amazon ECS, of instances on Cloud Run and of replicas on Container Apps, up to 300 there. The floor is one, because a server that expects inbound traffic has nothing to hold a request while it is at zero. Docker Compose runs one container and refuses a count above one. |
| compute | object | — | いいえ | — |
| overrides | object (open) | — | いいえ | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads: the Amazon ECS realizations read the cluster, subnets, security groups and roles the service runs under, each under its target's own spelling (subnet_ids on terraform, Subnets on CloudFormation), the Cloud Run realization the project, region, VPC network and service account the service runs in, the Container Apps realization the environment and resource group the app runs in and the identities and registry it pulls with, and the Kubernetes and Docker Compose realizations read none of its keys. |
出力コントラクト
このコンポーネントが uses トポロジを通じて利用側に公開する値です。
出力値は宣言されていません。
uses ソケット
このコンポーネントが接続に用いる依存関係ソケットです。ソケットを介して配線される各接続のターゲットは、そのソケットのラベルセレクターを満たす必要があり、各接続はソケットが宣言するスロットにアタッチメントを持つことができます。必須スロットは、Aggregate または Release がそのソケットを介して配線する各接続が満たす必要があります。
uses ソケットは宣言されていません。
アタッチメントスロット
Feature がこのコンポーネントにアタッチされる、名前付きのバインディングポイントです。スロットのセレクターはどの Feature がそのスロットを埋められるかを制約し、その inject リストは Feature のマテリアルをどのように配信できるかを示します。必須スロットは、インスタンス上のアタッチメント、またはその上位のスコープでのアタッチメントによって、すべてのインスタンスでバインドされている必要があります。また、機密スロットは秘密のマテリアルを扱うものとして宣言されます。Feature は、どのスロットも宣言していない名前でアタッチすることもできます。
アタッチメントスロットは宣言されていません。
自己注入の許可リスト
env
関係
他の公開エンティティとの間の型付きエッジです。公開されたターゲットがない参照は、リンクではなく切れたエッジとして表示されます。
使用先
- $refスキーマを拡張(values)
BaseComponents#/schemas/BaseComponentParameter
使用元
ソケット «upstream» を使用
ソケット «forward_target» を使用
ソケット «scrape_target» を使用
ソケット «store» を使用
適用対象
適用対象
適用対象
適用対象
適用対象
適用対象
適用対象
実装
実装
実装
実装
実装
実装