MongoDB

MongoDB

Official Presetlatest

Category: Databases & BaaS

#nosql#database#mongodb#document#json#scalable

Overview

MongoDB stores data in flexible, JSON-like documents, meaning fields can vary from document to document and data structure can be changed over time. The document model maps to the objects in your application code, making data easy to work with. On tug.sh, MongoDB runs with volume mounts for continuous persistence and authentication enabled by default.

Primary Use Cases

1

Modern JavaScript/TypeScript applications (MERN, MEAN stack)

2

Catalogs, content repositories, and user profile management

3

Rapid prototyping where data schemas evolve frequently

4

IoT sensor ingestion and telemetry event logging

Key Features

  • Intuitive JSON/BSON document data model
  • Powerful aggregation pipelines for analytics and data transformation
  • Ad-hoc queries, indexing, and real-time aggregation
  • High availability with replica sets and automatic failover
  • GridFS for storing large files and binaries

Container Specification

Docker Image

mongo:latest

Default Version

latest

SSL & Domain Routing

Automated Let's Encrypt (Caddy / Traefik)

Persistent Volumes

Managed host volume mounts

How to Deploy MongoDB with tug.sh

1

Connect your Linux server

Run the 1-line tug.sh agent install command on any Ubuntu, Debian, or Rocky Linux VPS.

2

Select MongoDB from the Marketplace

Pick your domain name, configure custom environment variables if needed, and choose your persistent storage folder.

3

Click Deploy & Go Live

tug.sh pulls the container, sets up HTTPS certificates, configures the reverse proxy, and boots the service in under 60 seconds.