FerretDB is a document-oriented database that provides a MongoDB-compatible API. It is built on top of PostgreSQL and offers a truly open-source alternative to MongoDB.
Installing FerretDB
To get started with FerretDB:
- Navigate to the
Databases
section in the control server. - Click
Manage Batteries
. - Find the
FerretDB
battery and clickInstall
.
FerretDB also depends on the postgres battery, which is installed automatically when first starting the control server.
Creating a FerretDB instance
To create a new FerretDB instance:
- Go to the
Databases
tab - Ensure that there is a postgres instance running
- Click
New FerretDB
in the FerretDB section - Fill out the form with the desired settings, choosing the postgres instance to use, along with memory and CPU limits
- Click
Save FerretDB
to finalize creation.
Accessing FerretDB
After creating a FerretDB instance, there will be a service created in the battery-data
namespace with the name of the ferretdb instance.