dokploy_application
Manage applications through actions: create, deploy, update, monitor, and configure environment variables, git sources, and build settings.
Instructions
Manage applications. create: name+environmentId. get: applicationId (returns env vars, git source, build config). update: applicationId+fields (supports sourceType, repository, owner, branch, customGitUrl, customGitBranch, githubId, dockerImage, etc.). move: applicationId+targetEnvironmentId. deploy: applicationId, redeploy? (note: first deploy on new services may fail — retry immediately). start/stop/delete/markRunning/refreshToken/cleanQueues/killBuild/cancelDeployment: applicationId. reload: applicationId+appName. saveEnvironment: applicationId+env (KEY=VALUE pairs, one per line). saveBuildType: applicationId+buildType. traefikConfig: applicationId, traefikConfig? (omit to read). readMonitoring: appName. readLogs: applicationId, tail? (default 100), since? ('all' or duration like '1h'), search? (substring filter).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| applicationId | No | ||
| name | No | ||
| environmentId | No | ||
| description | No | ||
| serverId | No | ||
| targetEnvironmentId | No | ||
| redeploy | No | ||
| title | No | ||
| deployDescription | No | Deploy description (maps to API description field) | |
| dockerImage | No | ||
| command | No | ||
| memoryLimit | No | ||
| cpuLimit | No | ||
| replicas | No | ||
| autoDeploy | No | ||
| appName | No | ||
| sourceType | No | Source type. github → set repository+owner+branch (+githubId for private). git → set customGitUrl+customGitBranch. docker → set dockerImage. The API also supports gitlab/bitbucket/gitea/drop sources, but those need provider-specific fields not yet exposed by this tool. | |
| repository | No | GitHub repository name | |
| owner | No | GitHub org/user | |
| branch | No | Branch name | |
| customGitUrl | No | Custom git repository URL (for sourceType: git) | |
| customGitBranch | No | Branch for custom git source | |
| githubId | No | GitHub App provider ID for private repo access | |
| env | No | Environment variables as KEY=VALUE pairs, one per line. Example: 'DB_HOST=localhost\nDB_PORT=5432' | |
| buildArgs | No | ||
| buildSecrets | No | ||
| createEnvFile | No | ||
| buildType | No | dockerfile | heroku_buildpacks | paketo_buildpacks | nixpacks | static | railpack | |
| dockerfile | No | ||
| dockerContextPath | No | ||
| dockerBuildStage | No | ||
| publishDirectory | No | ||
| traefikConfig | No | New config content (omit to read current) | |
| tail | No | Number of recent log lines to return (default 100) | |
| since | No | Time range: 'all' or a duration like '30m', '1h', '7d' | |
| search | No | Filter log lines by substring (alphanumeric + ' ._-' only) |