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.
Proveniência
- Digest do conteúdo
- sha256:03879394f8896b880a0c71d40b06804109c903cb3702014ab82f3e67438adfa9
- Publicado
- 2026-11-10T10:19:00Z
- Identidade de assinatura
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Assinatura
- Oficialapplication/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
Referência nesta versão
oci://hub.aggrega.ai/recipe/compose/ferretdb:1.0.0- Destino
- —
- Implementa
- core/datastore/ferretdb:1.0.0
Fornece
Modelos de ponteiros determinísticos que esta receita liga para os consumidores.
| Nome | Modelo |
|---|---|
| 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
Variáveis locais
Nenhuma variável local declarada.
Mapeamento de valores
Nenhum mapeamento de valores declarado.
Relações
Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é apresentada como uma aresta quebrada em vez de uma ligação.
Usa
- implementaimplementacontrato compatível
core/datastore/ferretdb:1.0.0
Todas as saídas obrigatórias são satisfeitas e cada saída fornecida é nomeada no contrato.
Usado por
Nada no catálogo depende desta entidade.