I'd like to request an official MongoDB template for the Dokploy Templates repository. MongoDB is one of the most commonly used databases, and having an official template would make it much easier to deploy.
Why should this template be added?
At the moment, users have to create their own Docker Compose file or find one online whenever they want to deploy MongoDB. It isn't difficult, but it's something almost everyone has to do.
MongoDB is used by a lot of modern applications, including MERN, NestJS, Express, and many other projects. Having an official template would save users from recreating the same Docker Compose setup every time and would fit well with the existing templates.
</html>
</html>
Originally created by @deyoyk on GitHub (Jun 28, 2026).
Original GitHub issue: https://github.com/Dokploy/templates/issues/964
<html>
<body>
<!--StartFragment--><html><head></head><body><h1>Template Request</h1><h2>Template Name</h2><p>MongoDB</p><h2>Description</h2><p>I'd like to request an official MongoDB template for the Dokploy Templates repository. MongoDB is one of the most commonly used databases, and having an official template would make it much easier to deploy.</p><h2>Why should this template be added?</h2><p>At the moment, users have to create their own Docker Compose file or find one online whenever they want to deploy MongoDB. It isn't difficult, but it's something almost everyone has to do.</p><p>An official template would:</p><ul><li><p>Save time</p></li><li><p>Keep deployments consistent</p></li><li><p>Help new users get started faster</p></li><li><p>Provide a trusted default configuration</p></li></ul><h2>Docker Image</h2><pre><code class="language-text">mongo:8
</code></pre><h2>Environment Variables</h2>
Variable | Description
-- | --
MONGO_INITDB_ROOT_USERNAME | Root username
MONGO_INITDB_ROOT_PASSWORD | Root password
MONGO_INITDB_DATABASE | Initial database (optional)
<h2>Example Compose</h2><pre><code class="language-yaml">services:
mongodb:
image: mongo:8
restart: unless-stopped
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: password
MONGO_INITDB_DATABASE: app
volumes:
- mongodb_data:/data/db
volumes:
mongodb_data:
</code></pre><h2>Documentation</h2><p><a href="https://hub.docker.com/_/mongo">https://hub.docker.com/_/mongo</a></p><h2>Additional Notes</h2><p>MongoDB is used by a lot of modern applications, including MERN, NestJS, Express, and many other projects. Having an official template would save users from recreating the same Docker Compose setup every time and would fit well with the existing templates.</p></body></html><!--EndFragment-->
</body>
</html>
MongoDB is available natively in Dokploy as a first-class database service (Create Service → Database → MongoDB), so it doesn't need a compose template here. Thanks!
<!-- gh-comment-id:4909448171 -->
@Siumauricio commented on GitHub (Jul 7, 2026):
MongoDB is available natively in Dokploy as a first-class database service (Create Service → Database → MongoDB), so it doesn't need a compose template here. Thanks!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @deyoyk on GitHub (Jun 28, 2026).
<html> <html><head></head>Original GitHub issue: https://github.com/Dokploy/templates/issues/964
Template Request
Template Name
MongoDB
Description
I'd like to request an official MongoDB template for the Dokploy Templates repository. MongoDB is one of the most commonly used databases, and having an official template would make it much easier to deploy.
Why should this template be added?
At the moment, users have to create their own Docker Compose file or find one online whenever they want to deploy MongoDB. It isn't difficult, but it's something almost everyone has to do.
An official template would:
Save time
Keep deployments consistent
Help new users get started faster
Provide a trusted default configuration
Docker Image
Environment Variables
Variable | Description -- | -- MONGO_INITDB_ROOT_USERNAME | Root username MONGO_INITDB_ROOT_PASSWORD | Root password MONGO_INITDB_DATABASE | Initial database (optional)Example Compose
Documentation
https://hub.docker.com/_/mongo
Additional Notes
MongoDB is used by a lot of modern applications, including MERN, NestJS, Express, and many other projects. Having an official template would save users from recreating the same Docker Compose setup every time and would fit well with the existing templates.
</html> </html>@Siumauricio commented on GitHub (Jul 7, 2026):
MongoDB is available natively in Dokploy as a first-class database service (Create Service → Database → MongoDB), so it doesn't need a compose template here. Thanks!