Ability to Connect to External PostgreSQL and Redis Clusters
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 37.4k
- Forks
- 3k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 73
Description
What problem will this feature address?
Currently, Dokploy seems limited to deploying and managing its own PostgreSQL and Redis instances. For users who already rely on externally managed database clusters (e.g., PostgreSQL and Redis) provided by their cloud providers—complete with built-in high availability, backups, and ongoing maintenance—it’s challenging to integrate these resources with Dokploy. As a result, they cannot leverage their existing fault-tolerant infrastructure and must settle for local instances that may not meet their redundancy and reliability needs.
Describe the solution you'd like
I would like Dokploy to support configuring and connecting to externally managed PostgreSQL and Redis clusters. This means providing a straightforward configuration method (e.g., environment variables, configuration files, or UI fields) where users can specify connection details (host, port, credentials, SSL settings) for their existing database and cache clusters. Dokploy should then seamlessly interact with these external services as if they were its own managed resources.
Describe alternatives you've considered
Local Deployments:
Running PostgreSQL and Redis locally within the Dokploy environment, but this compromises high availability and ease of maintenance.
Custom Integration Scripts:
Writing custom scripts or proxy services outside of Dokploy to route traffic to the external databases. However, this increases complexity and reduces the benefits of a single integrated solution.
Forking/Modifying Dokploy Code:
Making code changes to Dokploy to hardcode external connections, but this is not sustainable for future updates or for non-technical users.
Additional context
By enabling direct connections to managed clusters, Dokploy can become more versatile in enterprise settings where externally provisioned, fully managed services are standard. This integration would improve resilience, reduce operational overhead for users, and ultimately help Dokploy fit into more complex infrastructure scenarios.
Will you send a PR to implement it?
No
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points, so first locate how Dokploy currently configures and manages PostgreSQL and Redis resources. Define how external host, port, credentials, and SSL settings would be configured, with done meaning Dokploy can use externally managed PostgreSQL and Redis clusters instead of only local instances.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, redis, typescript
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100