Skip to content

Create (Docker Compose)

POST
/applications/dockercompose

Create new application based on a docker-compose file.

Authorizations

Request Body required

Application object that needs to be created.

object
project_uuid
required

The project UUID.

string
server_uuid
required

The server UUID.

string
environment_name
required

The environment name. You need to provide at least one of environment_name or environment_uuid.

string
environment_uuid
required

The environment UUID. You need to provide at least one of environment_name or environment_uuid.

string
docker_compose_raw
required

The Docker Compose raw content.

string
destination_uuid

The destination UUID if the server has more than one destinations.

string
name

The application name.

string
description

The application description.

string
instant_deploy

The flag to indicate if the application should be deployed instantly.

boolean
use_build_server

Use build server.

boolean
nullable

Responses

201

Application created successfully.

object
uuid
string

400

Invalid token.

object
message
string
Invalid token.

401

Unauthenticated.

object
message
string
Unauthenticated.