MongoDB (container)

standalone MongoDB container

MongoDB is a scalable, high-performance document-oriented NoSQL database system. Instead of storing data in tables as is done in a "classical" relational database, MongoDB stores data in flexible, JSON-like documents.

The MongoDB document model maps to the objects in your application code, making data easy to work with. Ad hoc queries, indexing, and real time aggregation provide powerful ways to access and analyze your data. MongoDB is a distributed database at its core, so high availability, horizontal scaling, and geographic distribution are built in and easy to use.

This is a standalone Docker-style container providing MongoDB on a minimalist Debian base. Currently it is only available to run on AWS ECS via the AWS Marketplace by following this link:

Subscribe to TurnKey MongoDB Container on AWS Marketplace

Note AWS account required & usage fees apply.


Usage

Environment variables:

DB_NAME: name of database the application uses; default is application name
DB_USER: name of database user of the application; default is application name
DB_PASS: password used by the application to access the database; default is randomly generated and automatically 
         shared between the app and db containers

MONGO_ROOT_USER: name of mongodb root (admin) user, default is "admin"
MONGO_ROOT_PASS: password of mongodb root (admin) user, default is randomly generated and echoed to the 
         (CloudWatch) logs