Recipe
ferretdb
A MongoDB-wire-compatible document-database proxy for local development via Docker Compose. Synthesized-mode Workload: the compose provider translates the Workload kind into a service entry (image, environment, wire port). The proxy holds no local state, so no volume is rendered. The PostgreSQL backend identity resolved from the `backend` uses-edge (host, port, user, database) arrives on .context.inject.env and is composed into the proxy's PostgreSQL connection URL; the URL is rendered password-free and the backend password is supplied separately on the standard libpq PGPASSWORD environment variable, wired through the optional credential on the `backend` connection with an inline development default when none is attached. provides.host is the bare service name, resolved on the compose network. FERRETDB_DEBUG_ADDR binds FerretDB's debug listener, port 8088, to the container's loopback address while `values.metrics_enabled` is false, and provides.metrics_endpoint is empty. True, it binds it on every interface, and provides.metrics_endpoint publishes its /debug/metrics. While it is on, every peer on the compose network reaches that listener with no caller check, and beside the metrics it serves /debug/pprof, which takes CPU profiles and execution traces on request, /debug/vars, /debug/archive and /debug/graphs.
来源
- 内容摘要
- sha256:03879394f8896b880a0c71d40b06804109c903cb3702014ab82f3e67438adfa9
- 发布时间
- 2026-11-10T10:19:00Z
- 签名身份
- 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:cf30d6ed5d5a4e34a9f89189ad78731b1d1b16db5a7c5f549189088dbf9bacb1
此版本的引用
oci://hub.aggrega.ai/recipe/compose/ferretdb:1.0.0- 目标
- —
- 实现
- core/datastore/ferretdb:1.0.0
提供
此配方为使用方接入的确定性指针模板。
| 名称 | 模板 |
|---|---|
| host | {{ .context.instance_id }} |
| port | {{ .infra.port }} |
| protocol | mongodb |
| metrics_endpoint | {{ if .values.metrics_enabled }}http://{{ .context.instance_id }}:8088/debug/metrics{{ end }} |
Workload
Workload · containers: main
局部变量
未声明局部变量。
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现契约兼容
core/datastore/ferretdb:1.0.0
所有必需输出均已满足,且提供的每个输出都在契约中列出。
被使用
目录中没有任何内容依赖此实体。