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
Усі обов’язкові виходи задоволено, і кожен наданий вихід названо в контракті.
Використовується в
Ніщо в каталозі не залежить від цієї сутності.