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.
Herkunft
- Inhalts-Digest
- sha256:03879394f8896b880a0c71d40b06804109c903cb3702014ab82f3e67438adfa9
- Veröffentlicht
- 2026-11-10T10:19:00Z
- Signaturidentität
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signatur
- Offiziellapplication/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
Referenz zu dieser Version
oci://hub.aggrega.ai/recipe/compose/ferretdb:1.0.0- Ziel
- —
- Implementiert
- core/datastore/ferretdb:1.0.0
Stellt bereit
Deterministische Zeigervorlagen, die dieses Rezept für Konsumenten verdrahtet.
| Name | Vorlage |
|---|---|
| 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
Lokale Variablen
Keine lokalen Variablen deklariert.
Wertezuordnung
Keine Wertezuordnung deklariert.
Beziehungen
Typisierte Kanten zu und von anderen veröffentlichten Entitäten. Eine Referenz ohne veröffentlichtes Ziel wird als unterbrochene Kante statt als Link dargestellt.
Verwendet
- implementiertimplementiertVertrag kompatibel
core/datastore/ferretdb:1.0.0
Alle erforderlichen Ausgaben sind erfüllt, und jede bereitgestellte Ausgabe ist im Vertrag genannt.
Verwendet von
Nichts im Katalog hängt von dieser Entität ab.