[GH-ISSUE #964] MongoDB #14550

Closed
opened 2026-07-13 16:28:41 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @deyoyk on GitHub (Jun 28, 2026).
Original GitHub issue: https://github.com/Dokploy/templates/issues/964

<html> <html><head></head>

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

mongo:8

Environment Variables

Variable | Description -- | -- MONGO_INITDB_ROOT_USERNAME | Root username MONGO_INITDB_ROOT_PASSWORD | Root password MONGO_INITDB_DATABASE | Initial database (optional)

Example Compose

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:

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>
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>
Author
Owner

@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!

<!-- 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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/templates#14550