Back to Komodo

FerretDB

docsite/docs/setup/ferretdb.mdx

2.1.21.3 KB
Original Source

FerretDB

:::info

FerretDB is a MongoDB-compatible database backed by Postgres + DocumentDB extension. It is a solid option with performance comparable to MongoDB, and can also be run on some systems which do not support MongoDB.

  1. Copy komodo/ferretdb.compose.yaml and komodo/compose.env to your host:
bash
wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/compose/ferretdb.compose.yaml && \
  wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/compose/compose.env
  1. Edit the variables in komodo/compose.env.
  2. Deploy using command:
bash
docker compose -p komodo -f komodo/ferretdb.compose.yaml --env-file komodo/compose.env up -d
mdx-code-block
import ComposeAndEnv from "@site/src/components/ComposeAndEnv";

<ComposeAndEnv file_name="ferretdb.compose.yaml" />