You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to manage Dokploy resources (apps, env vars, domains, build settings) through a declarative config file (e.g. dokploy.yaml) living in a Git repo, not just through the UI.
Why it matters: the UI-first model works well for getting started, but lacks version history, PR-based review, environment reproducibility, and automation; those are all things teams need in production.
Describe the solution you'd like
Suggested incremental path:
Ensure full API coverage for everything the UI can do
Define a declarative config schema (YAML/JSON)
Add a CLI command like dokploy apply -f dokploy.yaml with diff/reconcile
Then: Git-native reconciliation à la ArgoCD/Flux
Describe alternatives you've considered
/
Additional context
No response
Will you send a PR to implement it?
No
Reacted by Antoine C, cr4m d3v, Bryley, Vita, Tyler Albee, Alexey Immoreev, Hennadii Sakhniuk, JordanWarne04, Alexander L. and Adam
Reacted by Ivan Titov, JordanWarne04, Chathula Sampath and Alexander L.
Thanks for the detailed feature proposal! Here's my review:
Current State
Your proposed path aligns well with what exists and what's missing:
API Coverage ✅ — Dokploy already has comprehensive tRPC-based API coverage with 43 router modules covering apps, databases, domains, env vars, build settings, and more. JWT auth via x-api-key header. Most UI operations have API equivalents, though there are some gaps (e.g., GitHub provider selection during app creation).
CLI — Current CLI is limited to basic create/delete/deploy/stop for apps and databases. No apply command or config file support yet.
Declarative Config — The template system uses docker-compose.yml + template.toml with variable interpolation (${password:32}, ${domain}, etc.), but it's for pre-built templates only—not a general IaC system.
The template TOML parser could serve as a starting point for the config schema design.
This seems like a valuable addition that builds on existing architecture. You might want to coordinate with the related issues above to consolidate the discussion.
Activity
[-]Making Dokploy's config as-code[/-][+]Manage Dokploy resources as-code (declarative config + GitOps)[/+]Siumauricio commentedon Mar 4, 2026
@dosubot review
dosubot commentedon Mar 4, 2026
Thanks for the detailed feature proposal! Here's my review:
Current State
Your proposed path aligns well with what exists and what's missing:
API Coverage ✅ — Dokploy already has comprehensive tRPC-based API coverage with 43 router modules covering apps, databases, domains, env vars, build settings, and more. JWT auth via
x-api-keyheader. Most UI operations have API equivalents, though there are some gaps (e.g., GitHub provider selection during app creation).CLI — Current CLI is limited to basic
create/delete/deploy/stopfor apps and databases. Noapplycommand or config file support yet.Declarative Config — The template system uses
docker-compose.yml+template.tomlwith variable interpolation (${password:32},${domain}, etc.), but it's for pre-built templates only—not a general IaC system.Related Requests
This isn't the first ask! The maintainer has acknowledged demand for declarative deployments:
Related issues:
Implementation Notes
The existing tRPC API is comprehensive but imperative—each resource requires individual API calls. A
dokploy applywould need:The template TOML parser could serve as a starting point for the config schema design.
This seems like a valuable addition that builds on existing architecture. You might want to coordinate with the related issues above to consolidate the discussion.
To reply, just mention @dosu.
Share context across your team and agents. Try Dosu.
Siumauricio commentedon Apr 5, 2026
Closing as duplicate of #4008 which provides a detailed implementation plan for declarative YAML config (dokploy apply).