Installing Mongonaut
Learn how to install and configure Mongonaut for your MongoDB environment.
Mongonaut is available as a Docker image, making it easy to run alongside your MongoDB instance.
Note: Mongonaut is available on both GitHub Container Registry (ghcr) and Docker Hub. Due to Docker Hub's rate limiting changes starting April 1, 2025, we recommend using ghcr.io.
The examples below use ghcr.io, but you can also use Docker Hub by replacing ghcr.io/usemongonaut/mongonaut
with mongonaut/mongonaut
.
Quick Start
Security Warning: The examples above expose Mongonaut publicly on port 8081 without authentication. It is your responsibility to properly secure access to Mongonaut in production environments. Consider using:
- Cloudflare Zero Trust Tunnel (recommended)
- A reverse proxy with authentication
- Network-level security controls
Never expose an unsecured Mongonaut instance directly to the internet, as this could allow unauthorized access to your MongoDB databases!
Full Docker Compose example
Environment Variables
Variables | Description | Default |
---|---|---|
MONGO_CONNECTION_URL | URL of the target MongoDB | mongodb://mongo:27017/ |
MONGONAUT_READONLY | Whether the data is editable or not | false |