Halaman ini diterjemahkan oleh mesin. Baca versi asli dalam bahasa Inggris.

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.

Asal-usul

ResmiDitandatangani oleh identitas penandatangan yang diakui katalog ini sebagai penerbit resmi.
Digest konten
sha256:8f0098d60a8139139f99ea1d548e2ce9fcdf57ae40e8e89e208daf82dd92e4a2
Dipublikasikan
2026-11-10T10:10:33Z
Identitas penandatangan
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Tanda tangan

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

Referensi pada versi ini

oci://hub.aggrega.ai/component/core/datastore/documentdb:1.0.0

Parameter pengembang

Nilai yang ditetapkan pengembang di Aggregate.

NamaTipeBawaanWajibDeskripsi
userstringpostgrestidakApplication database user created on startup (POSTGRES_USER).
databasestringpostgrestidakLogical database name created on startup (POSTGRES_DB).

Penentuan ukuran oleh operator

Ukuran infrastruktur yang disesuaikan operator untuk setiap lingkungan.

NamaTipeBawaanWajibDeskripsi
portinteger (min 1024, max 65535)5432tidakServer listen port. Most operators should omit this and let the Recipe assign the default (5432).
engine_versionstring17-0.107.0-ferretdb-2.7.0tidakBackend image tag (PostgreSQL major version plus the DocumentDB extension build).
computeobject—tidak—
storageobject—tidak—
overridesobject (open)—tidakProvider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

Kontrak keluaran

Nilai yang dipublikasikan komponen ini kepada konsumen melalui topologi uses.

NamaTipeBawaanWajibDeskripsi
hoststring—yaAddress a client opens its database connection to. On the in-cluster realizations it is the Service's DNS name.
portinteger—yaTCP 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.
userstring—tidakName 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.
databasestring—tidakName 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.
protocolstring—tidakWire protocol the published address speaks — `postgres`, so a consumer chooses a PostgreSQL client even though what it stores is documents.

Soket uses

Soket dependensi yang menjadi jalur koneksi komponen ini. Target setiap koneksi yang dihubungkan melalui sebuah soket harus memenuhi selektor labelnya, dan setiap koneksi dapat membawa lampiran pada slot yang dideklarasikan soket tersebut. Slot wajib harus diisi oleh setiap koneksi yang dihubungkan oleh Aggregate atau Release melalui soket tersebut.

Tidak ada soket uses yang dideklarasikan.

Slot lampiran

Titik pengikatan bernama tempat sebuah Feature dilampirkan ke komponen ini. Selektor sebuah slot membatasi Feature mana yang dapat mengisinya, dan daftar injeksinya menyebutkan cara materi Feature dapat dikirimkan. Slot wajib harus terikat pada setiap instans, melalui lampiran pada instans tersebut atau pada cakupan di atasnya, dan slot sensitif dideklarasikan untuk menangani materi rahasia. Sebuah Feature juga dapat dilampirkan dengan nama yang tidak dideklarasikan oleh slot mana pun.

SlotSelektorWajibInjeksiSensitifDeskripsi
passwordfeature.aggrega.ai/kind=secrettidakenvyaOptional 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.

Daftar izin injeksi mandiri

env

Relasi

Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.

Menggunakan

Entitas ini tidak menggunakan apa pun di katalog.

Digunakan oleh

Referensi konsep Component →

Katalog Aggrega — indeks terbuka berisi komponen, fitur, resep, dan plugin yang merendernya.

Dibangun dengan sistem desain Aggrega yang digunakan bersama.

Privasi