Self-host with Docker · Yantr
MongoDB
Popular NoSQL document database with flexible JSON-like documents and powerful querying.
1
Ports
3
Notes
4
Use Cases
About
What MongoDB does
MongoDB is a NoSQL document database using flexible JSON-like documents and dynamic schemas. It supports ad-hoc queries, indexing, aggregation, replication, and sharding—making it suitable for modern web apps, mobile backends, and analytics that require flexible data models.
Install Flow
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, deployment notes, and where to find the original compose template.
After deployment, Yantr lets you publish additional ports from the stack page using Docker-style syntax. Use 8080:8080 for a fixed host port or just 8080 to let Docker assign a random port.
Use Cases
What people run it for
- 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, image, and service metadata
Ports
| Port | Protocol | Label |
|---|---|---|
| 27017 | TCP | Database |
Docker Image
mongo:latest
Service Name
mongodb
Notes
Things to know before you deploy
- Default port is 27017 for client connections
- Data stored in /data/db directory in the container
- Can require authentication in production deployments
Related Apps
More tools you might pair with MongoDB
Page generated 2026-06-23T15:50:08.758Z