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.
Provenance
- Content digest
- sha256:03879394f8896b880a0c71d40b06804109c903cb3702014ab82f3e67438adfa9
- Published
- 2026-11-10T10:19:00Z
- Signing identity
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signature
- Officialapplication/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
Reference at this version
oci://hub.aggrega.ai/recipe/compose/ferretdb:1.0.0- Target
- —
- Implements
- core/datastore/ferretdb:1.0.0
Provides
Deterministic pointer templates this recipe wires for consumers.
| Name | Template |
|---|---|
| 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
Locals
No locals declared.
Values mapping
No values mapping declared.
Relationships
Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.
Uses
- implementsimplementscontract compatible
core/datastore/ferretdb:1.0.0
All required outputs are satisfied and every provided output is named in the contract.
Used by
Nothing in the catalog depends on this entity.