Overview
MongoDB is a leading NoSQL database designed for flexibility, scalability, and high performance. Unlike traditional relational databases, it stores data in flexible JSON-like documents, making it ideal for modern applications that require fast development cycles and dynamic data structures.
This one-click app allows you to deploy MongoDB to Koyeb with one click.
Configuration
When deploying MongoDB on Koyeb, the following environment variables are provided and required:
Variable | Description | Default value | Required |
---|---|---|---|
MONGO_INITDB_ROOT_USERNAME | The username for the MongoDB database. | koyeb | Yes |
MONGO_INITDB_ROOT_PASSWORD | The password for the MongoDB database. | Yes |
Connecting to MongoDB
You can connect to the MongoDB instance via its private domain or public TCP proxy endpoint, which is visible on the service's overview page.