FerretDB
info
- 如果您在 Komodo v1.18.0 之前使用 Postgres 或 Sqlite 选项设置 Komodo,则您使用的是 FerretDB v1。
- Komodo 现在使用 FerretDB v2。对于现有用户,升级需要迁移。
FerretDB 是一个与 MongoDB 兼容的数据库,由 Postgres + DocumentDB 扩展 提供支持。 它是一个可靠的选择,性能与 MongoDB 相当,并且也可以在某些不支持 MongoDB 的系统上运行。
- 将
komodo/ferretdb.compose.yaml和komodo/compose.env复制到您的主机:
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
- 编辑
komodo/compose.env中的变量。 - 使用命令部署:
docker compose -p komodo -f komodo/ferretdb.compose.yaml --env-file komodo/compose.env up -d
- ferretdb.compose.yaml
- compose.env
https://github.com/moghtech/komodo/blob/main/compose/ferretdb.compose.yaml
https://github.com/moghtech/komodo/blob/main/compose/compose.env