mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-15 23:02:03 -05:00
[PR #574] [MERGED] fix(habitica): add user to mongodb replicaset to enable Dokploy DB backups #12210
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?
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/574
Author: @jorgegomzar
Created: 12/7/2025
Status: ✅ Merged
Merged: 2/15/2026
Merged by: @Siumauricio
Base:
canary← Head:fix/habitica-security📝 Commits (7)
000c6fdfix: use environment variables from configuration in habitica-server12bf4a0feat: add users to mongodb replicaSet1f5878cchore: less retries81d2863chore: do not start server until mongo is healthy5a99b1dfix: ensure habitica user exists for habitica dbc079a72fix: remove BASE_URL to prevent infinite redirectsf74670afix: add missing ADMIN_EMAIL📊 Changes
2 files changed (+82 additions, -17 deletions)
View changed files
📝
blueprints/habitica/docker-compose.yml(+66 -9)📝
blueprints/habitica/template.toml(+16 -8)📄 Description
What is this PR about?
Updates existing Habitica deployment to add user authentication via admin + habitica users on the MongoDB replicaSet via keyfile.
My main motivation was that I wanted to add DB backups, and Dokploy requires 1 user for this functionality to work.
Checklist
Before submitting this PR, please make sure that:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.