Context
I'm building an AI agent skill that wraps the Dokploy CLI to deploy apps. The idea: the agent scaffolds a Vue SPA + PocketBase app, then deploys it to Dokploy — all without needing a GitHub repo.
The Dokploy web UI and tRPC API support this workflow perfectly via sourceType: "raw" composes + file mounts. But the CLI is missing the commands to do it.
What's missing from the CLI
| Operation |
Web UI / API |
CLI |
| Create compose |
compose.create |
Missing |
| Update compose YAML |
compose.update (sourceType: "raw") |
Missing |
| Deploy compose |
compose.deploy |
Missing |
| Create file mounts |
mounts.create |
Missing |
| Create domains |
domain.create |
Missing |
The CLI currently covers projects, apps, databases, and env vars — but not the compose/mount/domain lifecycle.
Why this matters
Right now, deploying a raw compose (no GitHub) requires falling back to curl with tRPC endpoints. This works, but:
- The CLI has
--help and discoverability — agents (and humans) can explore capabilities
curl with tRPC is fragile and undocumented
- The compose + mount + domain flow is the most common deployment pattern for self-hosted apps
What I'd love to see
dokploy compose:create --name "my-app" --project-uuid $PROJECT_UUID --environment-uuid $ENV_UUID
dokploy compose:update --compose-uuid $ID --source-type raw --file docker-compose.yml
dokploy compose:deploy --compose-uuid $ID
dokploy mount:create --compose-uuid $ID --type file --file-path "index.html" --content "..."
dokploy domain:create --compose-uuid $ID --host "app.example.com" --port 8080 --https --letsencrypt
Happy to contribute
If this direction makes sense, I'd be glad to submit a PR adding these commands. The tRPC endpoints already exist — the CLI just needs to wrap them.
Using Dokploy CLI v0.2.8.
Context
I'm building an AI agent skill that wraps the Dokploy CLI to deploy apps. The idea: the agent scaffolds a Vue SPA + PocketBase app, then deploys it to Dokploy — all without needing a GitHub repo.
The Dokploy web UI and tRPC API support this workflow perfectly via
sourceType: "raw"composes + file mounts. But the CLI is missing the commands to do it.What's missing from the CLI
compose.createcompose.update(sourceType: "raw")compose.deploymounts.createdomain.createThe CLI currently covers projects, apps, databases, and env vars — but not the compose/mount/domain lifecycle.
Why this matters
Right now, deploying a raw compose (no GitHub) requires falling back to
curlwith tRPC endpoints. This works, but:--helpand discoverability — agents (and humans) can explore capabilitiescurlwith tRPC is fragile and undocumentedWhat I'd love to see
Happy to contribute
If this direction makes sense, I'd be glad to submit a PR adding these commands. The tRPC endpoints already exist — the CLI just needs to wrap them.
Using Dokploy CLI v0.2.8.