About
MongoDB is a popular NoSQL document database that stores data in flexible, JSON-like documents with dynamic schemas. It's designed for scalability, performance, and ease of development. Documents can vary in structure, making it perfect for evolving data models. Features include ad-hoc queries, indexing, aggregation pipeline, replication, sharding, geospatial queries, text search, and a powerful query language. It's widely used in modern web applications, mobile apps, and analytics platforms.
How to Self-Host MongoDB
MongoDB can be deployed with standard Docker Compose using the Yantr app catalog. This page collects the basic information searchers usually need first: what MongoDB does, which Docker image Yantr uses, default ports, dependencies, and where to find the original compose template.
If you searched for MongoDB Docker, MongoDB Docker Compose, or self-host MongoDB, this page is the direct landing page for that app in Yantr's catalog.
Use Cases
- Store application data for Node.js, Python, or other modern applications.
- Build content management systems with flexible document structures.
- Store IoT sensor data with time-series patterns.
- Use as the database for analytics applications requiring flexible schemas.
Technical Details
Ports
| Port | Protocol | Label |
|---|---|---|
| 27017 | TCP | Database |
Docker Image
mongo:latest
Service Name
mongodb
Notes
- → Default port is 27017 for client connections
- → Data stored in /data/db directory in the container
- → Can require authentication in production deployments
Related Apps
Cloud Torrent
Self-hosted torrent client with web UI and streaming download support.
Heimdall
Clean application dashboard with icons for quick access to your self-hosted services.
Pi.Alert
Network scanner that detects devices, alerts on new connections, and tracks device history.
More App Pages
Explore the full app catalog for more self-hosted services, alternatives, and dependencies that work alongside MongoDB.
Page generated 2026-03-06T16:43:27.553Z