Dokploy
Generated

Compose

POST
/compose.create

Compose create

/compose.create

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

name
Required
string

Minimum length: 1

descriptionstring | null

environmentId
Required
string

composeTypestring

Value in: "docker-compose" | "stack"

appNamestring

serverIdstring | null

composeFilestring

curl -X POST "https://your-dokploy-instance.com/api/compose.create" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "description": "string",
    "environmentId": "string",
    "composeType": "docker-compose",
    "appName": "string",
    "serverId": "string",
    "composeFile": "string"
  }'

Successful response

{}

GET
/compose.one

Compose one

/compose.one

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Query Parameters

composeId
Required
string

Minimum length: 1
curl -X GET "https://your-dokploy-instance.com/api/compose.one?composeId=string" \
  -H "Authorization: <token>"

Successful response

{}

POST
/compose.update

Compose update

/compose.update

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

composeId
Required
string

namestring

Minimum length: 1

appNamestring

descriptionstring | null

envstring | null

composeFilestring

refreshTokenstring | null

sourceTypestring

Value in: "git" | "github" | "gitlab" | "bitbucket" | "gitea" | "raw"

composeTypestring

Value in: "docker-compose" | "stack"

repositorystring | null

ownerstring | null

branchstring | null

autoDeployboolean | null

gitlabProjectIdnumber | null

gitlabRepositorystring | null

gitlabOwnerstring | null

gitlabBranchstring | null

gitlabPathNamespacestring | null

bitbucketRepositorystring | null

bitbucketOwnerstring | null

bitbucketBranchstring | null

giteaRepositorystring | null

giteaOwnerstring | null

giteaBranchstring | null

customGitUrlstring | null

customGitBranchstring | null

customGitSSHKeyIdstring | null

commandstring

enableSubmodulesboolean

composePathstring

Minimum length: 1

suffixstring

randomizeboolean

isolatedDeploymentboolean

isolatedDeploymentsVolumeboolean

triggerTypestring | null

Value in: "push" | "tag"

composeStatusstring

Value in: "idle" | "running" | "done" | "error"

environmentIdstring

createdAtstring

watchPathsarray<string> | null

githubIdstring | null

gitlabIdstring | null

bitbucketIdstring | null

giteaIdstring | null

curl -X POST "https://your-dokploy-instance.com/api/compose.update" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "composeId": "string",
    "name": "string",
    "appName": "string",
    "description": "string",
    "env": "string",
    "composeFile": "string",
    "refreshToken": "string",
    "sourceType": "git",
    "composeType": "docker-compose",
    "repository": "string",
    "owner": "string",
    "branch": "string",
    "autoDeploy": true,
    "gitlabProjectId": 0,
    "gitlabRepository": "string",
    "gitlabOwner": "string",
    "gitlabBranch": "string",
    "gitlabPathNamespace": "string",
    "bitbucketRepository": "string",
    "bitbucketOwner": "string",
    "bitbucketBranch": "string",
    "giteaRepository": "string",
    "giteaOwner": "string",
    "giteaBranch": "string",
    "customGitUrl": "string",
    "customGitBranch": "string",
    "customGitSSHKeyId": "string",
    "command": "string",
    "enableSubmodules": true,
    "composePath": "string",
    "suffix": "string",
    "randomize": true,
    "isolatedDeployment": true,
    "isolatedDeploymentsVolume": true,
    "triggerType": "push",
    "composeStatus": "idle",
    "environmentId": "string",
    "createdAt": "string",
    "watchPaths": [
      "string"
    ],
    "githubId": "string",
    "gitlabId": "string",
    "bitbucketId": "string",
    "giteaId": "string"
  }'

Successful response

{}

POST
/compose.delete

Compose delete

/compose.delete

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

composeId
Required
string

Minimum length: 1

deleteVolumes
Required
boolean

curl -X POST "https://your-dokploy-instance.com/api/compose.delete" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "composeId": "string",
    "deleteVolumes": true
  }'

Successful response

{}

POST
/compose.cleanQueues

Compose clean Queues

/compose.cleanQueues

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

composeId
Required
string

Minimum length: 1
curl -X POST "https://your-dokploy-instance.com/api/compose.cleanQueues" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "composeId": "string"
  }'

Successful response

{}

POST
/compose.killBuild

Compose kill Build

/compose.killBuild

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

composeId
Required
string

Minimum length: 1
curl -X POST "https://your-dokploy-instance.com/api/compose.killBuild" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "composeId": "string"
  }'

Successful response

{}

GET
/compose.loadServices

Compose load Services

/compose.loadServices

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Query Parameters

composeId
Required
string

Minimum length: 1

typeAny properties in not unknown, string

Default: "cache"
curl -X GET "https://your-dokploy-instance.com/api/compose.loadServices?composeId=string&type=cache" \
  -H "Authorization: <token>"

Successful response

{}

GET
/compose.loadMountsByService

Compose load Mounts By Service

/compose.loadMountsByService

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Query Parameters

composeId
Required
string

Minimum length: 1

serviceName
Required
string

Minimum length: 1
curl -X GET "https://your-dokploy-instance.com/api/compose.loadMountsByService?composeId=string&serviceName=string" \
  -H "Authorization: <token>"

Successful response

{}

POST
/compose.fetchSourceType

Compose fetch Source Type

/compose.fetchSourceType

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

composeId
Required
string

Minimum length: 1
curl -X POST "https://your-dokploy-instance.com/api/compose.fetchSourceType" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "composeId": "string"
  }'

Successful response

{}

POST
/compose.randomizeCompose

Compose randomize Compose

/compose.randomizeCompose

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

composeId
Required
string

Minimum length: 1

suffixstring

curl -X POST "https://your-dokploy-instance.com/api/compose.randomizeCompose" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "composeId": "string",
    "suffix": "string"
  }'

Successful response

{}

POST
/compose.isolatedDeployment

Compose isolated Deployment

/compose.isolatedDeployment

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

composeId
Required
string

Minimum length: 1

suffixstring

curl -X POST "https://your-dokploy-instance.com/api/compose.isolatedDeployment" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "composeId": "string",
    "suffix": "string"
  }'

Successful response

{}

GET
/compose.getConvertedCompose

Compose get Converted Compose

/compose.getConvertedCompose

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Query Parameters

composeId
Required
string

Minimum length: 1
curl -X GET "https://your-dokploy-instance.com/api/compose.getConvertedCompose?composeId=string" \
  -H "Authorization: <token>"

Successful response

{}

POST
/compose.deploy

Compose deploy

/compose.deploy

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

composeId
Required
string

Minimum length: 1

titlestring

descriptionstring

curl -X POST "https://your-dokploy-instance.com/api/compose.deploy" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "composeId": "string",
    "title": "string",
    "description": "string"
  }'

Successful response

{}

POST
/compose.redeploy

Compose redeploy

/compose.redeploy

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

composeId
Required
string

Minimum length: 1

titlestring

descriptionstring

curl -X POST "https://your-dokploy-instance.com/api/compose.redeploy" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "composeId": "string",
    "title": "string",
    "description": "string"
  }'

Successful response

{}

POST
/compose.stop

Compose stop

/compose.stop

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

composeId
Required
string

Minimum length: 1
curl -X POST "https://your-dokploy-instance.com/api/compose.stop" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "composeId": "string"
  }'

Successful response

{}

POST
/compose.start

Compose start

/compose.start

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

composeId
Required
string

Minimum length: 1
curl -X POST "https://your-dokploy-instance.com/api/compose.start" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "composeId": "string"
  }'

Successful response

{}

GET
/compose.getDefaultCommand

Compose get Default Command

/compose.getDefaultCommand

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Query Parameters

composeId
Required
string

Minimum length: 1
curl -X GET "https://your-dokploy-instance.com/api/compose.getDefaultCommand?composeId=string" \
  -H "Authorization: <token>"

Successful response

{}

POST
/compose.refreshToken

Compose refresh Token

/compose.refreshToken

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

composeId
Required
string

Minimum length: 1
curl -X POST "https://your-dokploy-instance.com/api/compose.refreshToken" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "composeId": "string"
  }'

Successful response

{}

POST
/compose.deployTemplate

Compose deploy Template

/compose.deployTemplate

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

environmentId
Required
string

serverIdstring

id
Required
string

baseUrlstring

curl -X POST "https://your-dokploy-instance.com/api/compose.deployTemplate" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "environmentId": "string",
    "serverId": "string",
    "id": "string",
    "baseUrl": "string"
  }'

Successful response

{}

GET
/compose.templates

Compose templates

/compose.templates

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Query Parameters

baseUrlstring

curl -X GET "https://your-dokploy-instance.com/api/compose.templates?baseUrl=string" \
  -H "Authorization: <token>"

Successful response

{}

GET
/compose.getTags

Compose get Tags

/compose.getTags

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Query Parameters

baseUrlstring

curl -X GET "https://your-dokploy-instance.com/api/compose.getTags?baseUrl=string" \
  -H "Authorization: <token>"

Successful response

{}

POST
/compose.disconnectGitProvider

Compose disconnect Git Provider

/compose.disconnectGitProvider

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

composeId
Required
string

Minimum length: 1
curl -X POST "https://your-dokploy-instance.com/api/compose.disconnectGitProvider" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "composeId": "string"
  }'

Successful response

{}

POST
/compose.move

Compose move

/compose.move

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

composeId
Required
string

targetEnvironmentId
Required
string

curl -X POST "https://your-dokploy-instance.com/api/compose.move" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "composeId": "string",
    "targetEnvironmentId": "string"
  }'

Successful response

{}

POST
/compose.processTemplate

Compose process Template

/compose.processTemplate

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

base64
Required
string

composeId
Required
string

Minimum length: 1
curl -X POST "https://your-dokploy-instance.com/api/compose.processTemplate" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "base64": "string",
    "composeId": "string"
  }'

Successful response

{}

POST
/compose.import

Compose import

/compose.import

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

base64
Required
string

composeId
Required
string

Minimum length: 1
curl -X POST "https://your-dokploy-instance.com/api/compose.import" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "base64": "string",
    "composeId": "string"
  }'

Successful response

{}

POST
/compose.cancelDeployment

Compose cancel Deployment

/compose.cancelDeployment

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

composeId
Required
string

Minimum length: 1
curl -X POST "https://your-dokploy-instance.com/api/compose.cancelDeployment" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "composeId": "string"
  }'

Successful response

{}