Database service
Databases/MongoDB

MongoDB database

Self-hosted MongoDB document database service for applications that store and query JSON-like documents inside a stack.

Run this database inside the stack when you want self-hosted data close to the application workflow, with backups, imports, and environment reuse managed through the same Wodby platform.

Good to know

Running MongoDB on Wodby

On Wodby, MongoDB runs as one standalone server from the official image, with its data on a volume. Wodby creates the database and a user for it, and a backup is an archive that holds a dump of that database.

Users get read and write access only

A user receives the read-write role on each database it may access, and nothing beyond that. Authentication is always on, and an application should never connect as the administrator.

A marker collection to leave alone

Wodby brings the database into existence by adding one collection of its own to it. Leave that collection where it is.

Restore outside Wodby

A downloaded backup can be restored anywhere with the standard MongoDB restore tool, because it contains a compressed dump archive next to the script Wodby itself uses.

Imports land in this environment

Only backups that Wodby's MongoDB service produced can be imported. Their collections go into the database of the environment you import into, whatever the database was called where the backup was taken.

What the server needs

MongoDB runs with its default configuration, and the service has no settings or config files to override. On x86-64 nodes the CPU has to support AVX.

Read the MongoDB guide for setup steps, settings, and limits.

Overview

Technical profile and runtime packaging

Review how MongoDB is packaged as a Wodby database service, what it exposes at runtime, and which public artifacts it builds on.

Database model

Database service

Versions

8.0

Ports and protocols

27017/TCP

Data workflows

Back up data, import realistic copies, and keep access manageable

Container-based database services keep the database inside the same stack workflow as the application, so teams can manage recovery points, refresh other environments with working data, and control database access through Wodby.

Automatic backups with cloud storage uploads

Keep recent recovery points ready and send database archives to connected cloud storage providers.

Import working data into other environments

Refresh staging, create realistic QA environments, and onboard developers faster with data import workflows.

Manage databases, users, and access centrally

Handle database users and which databases they can access through the same Wodby workflow instead of ad hoc manual steps.

Deployment

Run the database wherever the stack runs

Container-based databases can run on Wodby Cloud, managed Kubernetes, or self-hosted Kubernetes without changing how the database fits inside the stack. Wodby maintains the cluster on all three, so choose by where the data should live and what it should cost.
Wodby Cloud

Wodby hosts the cluster, so there is no cloud account or server to set up first.

Managed Kubernetes

Run the database in a cluster in your own cloud account, created and kept up to date by Wodby.

Self-hosted Kubernetes

Use your own VMs or dedicated servers when budget matters more than autoscaling. Wodby checks their packages for vulnerabilities and installs updates when you choose.

Stacks

Use it inside ready-made stacks or your own

These public stacks already use MongoDB in their database layer. Start from one of them, or build a custom stack around the same database service model.

Connectivity

Reuse connectivity, storage, and operational defaults

Database services can expose ports, connect to application services, attach persistent storage, and define runtime defaults that stay reusable inside stacks rather than being rebuilt by hand.

Endpoints

27017/TCP

Volumes

Data