POST
/
databases
/
mysql

Authorizations

Authorization
string
headerrequired

Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.

Body

application/json
server_uuid
string
required

UUID of the server

project_uuid
string
required

UUID of the project

environment_name
string
required

Name of the environment

destination_uuid
string

UUID of the destination if the server has multiple destinations

mysql_root_password
string

MySQL root password

mysql_user
string

MySQL user

mysql_database
string

MySQL database

mysql_conf
string

MySQL conf

name
string

Name of the database

description
string

Description of the database

image
string

Docker Image of the database

is_public
boolean

Is the database public?

public_port
integer

Public port of the database

limits_memory
string

Memory limit of the database

limits_memory_swap
string

Memory swap limit of the database

limits_memory_swappiness
integer

Memory swappiness of the database

limits_memory_reservation
string

Memory reservation of the database

limits_cpus
string

CPU limit of the database

limits_cpuset
string

CPU set of the database

limits_cpu_shares
integer

CPU shares of the database

instant_deploy
boolean

Instant deploy the database