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 }} |
| protocol | postgres |
| metrics_pod_selector | |
| metrics_pod_port | |
| metrics_path |
Workload
Workload · containers: main
局部变量
未声明局部变量。
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现契约兼容
core/datastore/postgres:1.0.0
所有必需输出均已满足,且提供的每个输出都在契约中列出。
被使用
目录中没有任何内容依赖此实体。