Start
A few lines in doze.hcl give you FerretDB. Nothing starts until something connects.
1 · In doze.hcldoze.hcl
module ferret "ferret" {
version = "2.7"
} It listens on port 27017. doze env prints its address for tools outside doze.hcl.
A fuller setup
Paste it over the block above and keep what you need.
The FerretDB example, complete
The example the module ships in its own description (meta.yaml), in doze 0.2's module syntax.
doze.hcl
module ferret "shop" {
version = "2.7"
database "catalog" {
collection "products" { seed = "./seed/products.json" }
collection "orders" {}
}
}Quality
Each line says where it comes from, so you can check it.
- Signed by doze-dev
ed25519 key Nu5y8mbj…GWjw=, compiled into doze, over every file and over the whole index. How signing works
signed index - Three platforms
macOS arm64, Linux x86_64, Linux arm64, each with its own sha256, in every release.
signed index - Conformance-tested on FerretDB 2
Every argument on the Reference tab converged into a running engine, once per supported version, before a release is signed.
doze-modules CI · new - Every example on this page parsed by doze
By doze 0.2 with doze lint --offline, on every change to the registry.
registry CI · new - Source linked
https://www.ferretdb.com, Apache-2.0; FerretDB builds from doze-binaries.
GitHub