MongoDB
Managed MongoDB on DockHosting — versions, connection strings, and drivers.
Versions
7 and 6 are available when you create a database.
Connection string
Injected automatically when you attach the database to a project:
mongodb://<user>:<password>@<host>:27017/<database>Works directly with mongoose and the native mongodb driver (Node), pymongo (Python), the official mongo-driver (Go), and any client that accepts a standard Mongo connection URI.
Connecting locally
Off by default — see Connect from your computer. Once public access is on, mongosh or MongoDB Compass connect with the same URI format shown above, using the public host and port instead of the internal ones.
Databases and collections
MongoDB creates databases and collections implicitly on first write — there's no separate "create database" step the way there is for a relational engine. See Manage for creating additional users scoped to specific databases.
Backups
Automatic, plus on-demand — see Backups. A downloaded backup is compatible with mongorestore.