Component
core/datastore/documentdb
A PostgreSQL-backed document store: PostgreSQL 17 with the DocumentDB extension. It presents the standard PostgreSQL wire contract (POSTGRES_USER / POSTGRES_PASSWORD / POSTGRES_DB) and persists data on a volume, so it is a stateful server. It is the storage backend for a document proxy that speaks a document-database wire protocol on top of it; the proxy connects over the exported host, port, user, and database. Exports its host, port, user, database, and protocol to consumers via the uses topology.
出處
- 內容摘要
- sha256:8f0098d60a8139139f99ea1d548e2ce9fcdf57ae40e8e89e208daf82dd92e4a2
- 發布時間
- 2026-11-10T10:10:33Z
- 簽署身分
- 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:9bd69b3849e2f834bf9c38c463c7f4c072cde4377dbabbe90e39b1a8da422254
此版本的參照
oci://hub.aggrega.ai/component/core/datastore/documentdb:1.0.0開發者參數
開發者在 Aggregate 中設定的值。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| user | string | postgres | 否 | Application database user created on startup (POSTGRES_USER). |
| database | string | postgres | 否 | Logical database name created on startup (POSTGRES_DB). |
操作員資源規格
操作員依各環境調整的基礎架構資源規格。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| port | integer (min 1024, max 65535) | 5432 | 否 | Server listen port. Most operators should omit this and let the Recipe assign the default (5432). |
| engine_version | string | 17-0.107.0-ferretdb-2.7.0 | 否 | Backend image tag (PostgreSQL major version plus the DocumentDB extension build). |
| compute | object | — | 否 | — |
| storage | object | — | 否 | — |
| overrides | object (open) | — | 否 | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads. |
輸出契約
此元件透過 uses 拓撲向使用端發布的值。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| host | string | — | 是 | Address a client opens its database connection to. On the in-cluster realizations it is the Service's DNS name. |
| port | integer | — | 是 | TCP port the server accepts connections on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming a default. |
| user | string | — | 否 | Name of the application login role created at startup. A consumer authenticates as this role; the matching password arrives through the credential attached to the component, never through this contract. |
| database | string | — | 否 | Name of the logical database created at startup. A consumer names it in its connection string to land in the right database rather than the server's default. |
| protocol | string | — | 否 | Wire protocol the published address speaks — `postgres`, so a consumer chooses a PostgreSQL client even though what it stores is documents. |
Uses 插槽
此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。
未宣告任何 uses 插槽。
附加槽位
Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。
| 槽位 | 選擇器 | 必填 | 注入 | 敏感 | 描述 |
|---|---|---|---|---|---|
| password | feature.aggrega.ai/kind=secret | 否 | env | 是 | Optional database password credential. When attached, supplies POSTGRES_PASSWORD via the credential subsystem. Unattached, compose/documentdb and helm/documentdb set POSTGRES_PASSWORD to the development literal `apppass`, which this catalog publishes, so every Release that leaves the slot unattached shares that password. |
自我注入允許清單
env
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
此實體未使用目錄中的任何項目。
被使用於
使用插槽「backend」
使用插槽「cache」
使用插槽「queue」
使用插槽「backend」
使用插槽「cache」
使用插槽「queue」
使用插槽「backend」
使用插槽「backend」
使用插槽「cache」
使用插槽「queue」
使用插槽「backend」
使用插槽「cache」
使用插槽「queue」
使用插槽「backend」
使用插槽「cache」
使用插槽「queue」
使用插槽「backend」
使用插槽「cache」
使用插槽「backend」
使用插槽「cache」
使用插槽「backend」
使用插槽「cache」
使用插槽「backend」
使用插槽「cache」
使用插槽「backend」
使用插槽「cache」
使用插槽「backend」
使用插槽「cache」
使用插槽「backend」
使用插槽「cache」
使用插槽「state_store」
使用插槽「checkpointer_db」
使用插槽「checkpointer_db」
使用插槽「backend」
使用插槽「backend」
使用插槽「backend」
使用插槽「storage」
使用插槽「metadata_store」
使用插槽「target_datastore」
使用插槽「backend」
使用插槽「databases」
使用插槽「etcd」
使用插槽「backend」
使用插槽「backend」
使用插槽「cache」
使用插槽「state_store」
使用插槽「forward_target」
使用插槽「backend」
使用插槽「cache」
使用插槽「chunk_cache」
使用插槽「scrape_target」
使用插槽「backend」
使用插槽「backend」
使用插槽「database」
適用於
適用於
適用於
實作
實作