mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-16 13:24:11 -05:00
[GH-ISSUE #964] MongoDB #14550
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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!