Dokploy
Generated

Mariadb

POST
/mariadb.create

Mariadb create

/mariadb.create

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

name
Required
string

Minimum length: 1

appName
Required
string

Minimum length: 1

dockerImagestring

Default: "mariadb:6"

databaseRootPassword
Required
string

projectId
Required
string

descriptionstring | null

databaseName
Required
string

Minimum length: 1

databaseUser
Required
string

Minimum length: 1

databasePassword
Required
string

serverIdstring | null

curl -X POST "http://your-dokploy-instance.com/api/mariadb.create" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "appName": "string",
    "dockerImage": "mariadb:6",
    "databaseRootPassword": "string",
    "projectId": "string",
    "description": "string",
    "databaseName": "string",
    "databaseUser": "string",
    "databasePassword": "string",
    "serverId": "string"
  }'

Successful response

GET
/mariadb.one

Mariadb one

/mariadb.one

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

mariadbId
Required
string

curl -X GET "http://your-dokploy-instance.com/api/mariadb.one?mariadbId=string" \
  -H "Authorization: Bearer <token>"

Successful response

POST
/mariadb.start

Mariadb start

/mariadb.start

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

mariadbId
Required
string

curl -X POST "http://your-dokploy-instance.com/api/mariadb.start" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "mariadbId": "string"
  }'

Successful response

POST
/mariadb.stop

Mariadb stop

/mariadb.stop

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

mariadbId
Required
string

curl -X POST "http://your-dokploy-instance.com/api/mariadb.stop" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "mariadbId": "string"
  }'

Successful response

POST
/mariadb.saveExternalPort

Mariadb save External Port

/mariadb.saveExternalPort

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

mariadbId
Required
string

externalPort
Required
number | null

curl -X POST "http://your-dokploy-instance.com/api/mariadb.saveExternalPort" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "mariadbId": "string",
    "externalPort": 0
  }'

Successful response

POST
/mariadb.deploy

Mariadb deploy

/mariadb.deploy

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

mariadbId
Required
string

curl -X POST "http://your-dokploy-instance.com/api/mariadb.deploy" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "mariadbId": "string"
  }'

Successful response

POST
/mariadb.changeStatus

Mariadb change Status

/mariadb.changeStatus

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

mariadbId
Required
string

applicationStatus
Required
string

Value in: "idle" | "running" | "done" | "error"
curl -X POST "http://your-dokploy-instance.com/api/mariadb.changeStatus" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "mariadbId": "string",
    "applicationStatus": "idle"
  }'

Successful response

POST
/mariadb.remove

Mariadb remove

/mariadb.remove

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

mariadbId
Required
string

curl -X POST "http://your-dokploy-instance.com/api/mariadb.remove" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "mariadbId": "string"
  }'

Successful response

POST
/mariadb.saveEnvironment

Mariadb save Environment

/mariadb.saveEnvironment

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

mariadbId
Required
string

envstring | null

curl -X POST "http://your-dokploy-instance.com/api/mariadb.saveEnvironment" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "mariadbId": "string",
    "env": "string"
  }'

Successful response

POST
/mariadb.reload

Mariadb reload

/mariadb.reload

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

mariadbId
Required
string

appName
Required
string

Minimum length: 1
curl -X POST "http://your-dokploy-instance.com/api/mariadb.reload" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "mariadbId": "string",
    "appName": "string"
  }'

Successful response

POST
/mariadb.update

Mariadb update

/mariadb.update

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

mariadbId
Required
string

Minimum length: 1

namestring

Minimum length: 1

appNamestring

Minimum length: 1

descriptionstring | null

databaseNamestring

Minimum length: 1

databaseUserstring

Minimum length: 1

databasePasswordstring

databaseRootPasswordstring

dockerImagestring

Default: "mariadb:6"

commandstring | null

envstring | null

memoryReservationnumber | null

memoryLimitnumber | null

cpuReservationnumber | null

cpuLimitnumber | null

externalPortnumber | null

applicationStatusstring

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

createdAtstring

projectIdstring

curl -X POST "http://your-dokploy-instance.com/api/mariadb.update" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "mariadbId": "string",
    "name": "string",
    "appName": "string",
    "description": "string",
    "databaseName": "string",
    "databaseUser": "string",
    "databasePassword": "string",
    "databaseRootPassword": "string",
    "dockerImage": "mariadb:6",
    "command": "string",
    "env": "string",
    "memoryReservation": 0,
    "memoryLimit": 0,
    "cpuReservation": 0,
    "cpuLimit": 0,
    "externalPort": 0,
    "applicationStatus": "idle",
    "createdAt": "string",
    "projectId": "string"
  }'

Successful response