本頁面由機器翻譯。閱讀英文原文。

Recipe

postgres

PostgreSQL for local development via Docker Compose. Synthesized-mode Workload: the compose provider translates the Workload kind into a service entry (image, port, exposed service). provides.host is the bare service name, resolved on the compose network. Bootstrap scripts (init_scripts) and a custom server configuration block (custom_config) are both realized: each script mounts under /docker-entrypoint-initdb.d and runs once when the database first initializes, and the configuration block mounts as the postgresql.conf the server's config_file argument points at.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:c57772cf398dd0b4029688b27ef59c48a8e14922989d14f821717588bff3f567
發布時間
2026-11-10T10:20:24Z
簽署身分
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:e57f4d04b3866c5e810c00c2aeceaf3b129c064b5b14bc0fe0e60820834da937

此版本的參照

oci://hub.aggrega.ai/recipe/compose/postgres:1.0.0
目標
—
實作
core/datastore/postgres:1.0.0

提供

此配方為使用端連接的確定性指標範本。

名稱範本
host{{ .context.instance_id }}
port{{ .infra.port }}
user{{ .values.user }}
database{{ .values.database }}
protocolpostgres
metrics_pod_selector
metrics_pod_port
metrics_path

Workload

Workload · containers: main

Locals

未宣告任何 locals。

值對應

未宣告任何值對應。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

  • 實作實作契約相容

    core/datastore/postgres:1.0.0

    所有必要的輸出都已滿足,且每個提供的輸出都在契約中列名。

被使用於

目錄中沒有任何項目相依於此實體。

Recipe 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權