Skip to main content

Create MongoDB Database

string
required
Display name for the MongoDB database
string
required
Unique application name used for Docker container identification
string
required
Username for database access
string
required
Password for database user. Must match pattern: ^[a-zA-Z0-9@#%^&*()_+\-=[\]{}|;:,.<>?~]*$`
string
required
ID of the environment where this database will be deployed
string
default:"mongo:15"
Docker image to use for MongoDB
string
Optional description of the database instance
boolean
default:false
Enable MongoDB replica sets for high availability
string
Optional server ID for deployment on specific server
string
Unique identifier for the created MongoDB instance
string
Application name of the database
string
Display name of the database

Get MongoDB Database

string
required
ID of the MongoDB database to retrieve
string
Database identifier
string
Display name
string
Application name
string
Database username
string
MongoDB Docker image
string
Current status: idle, running, done, or error
number
External port for database access (if configured)
boolean
Whether replica sets are enabled

Deploy MongoDB

string
required
ID of the MongoDB database to deploy

Start MongoDB

string
required
ID of the MongoDB database to start

Stop MongoDB

string
required
ID of the MongoDB database to stop

Update MongoDB

string
required
ID of the MongoDB database to update
string
New display name
string
New application name
string
New description
string
Database username
string
User password
string
Maximum memory (e.g., “2g”, “512m”)
string
Guaranteed memory allocation
string
Maximum CPU cores
string
Guaranteed CPU allocation
string
Custom command override
array
Command arguments

Save External Port

string
required
ID of the MongoDB database
number
Port number for external access. Set to null to remove external port.

Save Environment Variables

string
required
ID of the MongoDB database
string
Environment variables in KEY=VALUE format, separated by newlines

Reload MongoDB

string
required
ID of the MongoDB database
string
required
Application name of the database

Rebuild MongoDB

string
required
ID of the MongoDB database to rebuild

Remove MongoDB

string
required
ID of the MongoDB database to remove

Connection String Format

Standard Connection

Example:

With Database Name

External Connection

Replica Set Connection

Mount Path

MongoDB data is stored at /data/db inside the container.