MongoDB 4
MongoDB 4 is a free, open-source document database that stores JSON-like documents with flexible schemas for building scalable applications.
Platform availability
Available on 1 of 10 platforms
- Unraid (not listed)
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server (not listed)
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
69/100 Good
- Maintained
- 100last commit 10 days ago
- Popular
- 52378 GitHub stars
- Easy to install
- 351 install platform, install notes, Docker image
- Light to run
- 602 GB minimum RAM, runs on ARM
Availability: platform listings confirmed today
- GitHub stars
- 378
- Open issues
- 297
- Last commit
- 2026-11-11
- Latest release
- v2.0.24
- License
- Apache-2.0
- Activity
- declining
Checked yesterday - source: GitHub (IceWhaleTech/CasaOS-AppStore)
Resources & Compatibility
Minimum requirements: 2 GB RAM, 2 CPU core(s). ARM (e.g. Raspberry Pi) is supported.
Checked 54 days ago - source: Docker Hub image tags and published docs
First-install notes
- Install the PHP MongoDB extension first Use the pie command (a helper for installing PHP extensions) to add the MongoDB extension, because PHP needs it to talk to MongoDB. If you skip this, the app will fail when it tries to connect to the database or save data. source
- Add search support with Laravel Scout Run the two provided Laravel setup commands to install Scout and publish its configuration files (this copies editable settings into your project) if you plan to use search. Without that, search features can fail or return nothing even when MongoDB is connected. source
Fetched 49 days ago - each note links to its source
Variants
Alternatives (12)
- Apache Cassandra
- CockroachDB - CockroachDB is a distributed SQL database for developers and operators of transactional applications that need horizontal scaling and resil…
- CouchDB - CouchDB is a document-oriented NoSQL database with a RESTful HTTP/JSON interface for storing, querying, and synchronising JSON documents ac…
- FerretDB - FerretDB is an open-source MongoDB compatibility proxy for self-hosted stacks.
- KeyDB - KeyDB is a distributed, Redis-compatible key-value database that adds true multi-master replication, letting any number of servers accept w…
- Microsoft SQL Server - SQL Server delivers on Microsoft’s Data Platform vision by helping your organization manage your data by enabling you to store data from st…
- MongoDB - MongoDB is an open-source, document-oriented NoSQL database that stores flexible, JSON-like documents, helping developers and self-hosters…
- MySQL Community Edition - Free GPL database platform supporting SQL and NoSQL applications with InnoDB storage, replication, clustering, connectors, and cross-platfo…
- PostgreSQL - PostgreSQL (Postgres) is an open source object-relational database known for reliability and data integrity.
- RavenDB - RavenDB is an open-source, transactionally consistent document database that stores application data in flexible records, helping developer…
- Redis - Redis is a fast, in-memory data structure store that can be used as a database, cache, and message broker.
- SQLite - SQLite is a lightweight, embedded relational database engine that stores an entire database in a single file on your device.
Checked 40 days ago - source: AlternativeTo
Common questions
Can UniFi Network run with MongoDB 4.4.26 on TrueNAS?
A user reported a working setup for UniFi Network with MongoDB 4.4.26 in a TrueNAS jail. The setup used jailmaker and dockge, which can help when getting that MongoDB-based stack running.
Why might a Laravel MongoDB application fail when connecting or saving data?
PHP must have the MongoDB extension installed before the application uses MongoDB. If the extension is missing, the app can fail when it tries to connect to the database or save data.
How should a self-managed MongoDB deployment be deployed and managed?
The self-managed deployment documentation covers installing a self-managed MongoDB database. It also covers deploying and managing self-managed replica sets.
What cost issue did a team mention when comparing MongoDB Atlas with self-hosting?
The team initially used Atlas for high availability and failover. After hosting APIs that tie into MongoDB, they found their Atlas traffic costs became extremely high.
Answers sourced from forums.truenas.com, github.com, www.mongodb.com, www.reddit.com
Community
- MongoDB discussions - ExamDiscuss Forum (forum)
- MongoDB® General Discussion - Percona Community Forum (forum)
- Latest MongoDB topics - Percona Community Forum (forum)
- [WORKING] unifi network application, mongodb 4.4.26 in jailmaker and ... (forum)
- Stay on Atlas or Back to Self Host : r/mongodb - Reddit (reddit)
- Should I keep self-hosting? : r/mongodb - Reddit (reddit)
Collected 48 days ago - public community threads