Skip to main content
POST
/
applications
/
dockercompose
Create (Docker Compose)
curl --request POST \
  --url https://app.coolify.io/api/v1/applications/dockercompose \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_uuid": "<string>",
  "server_uuid": "<string>",
  "environment_name": "<string>",
  "docker_compose_raw": "<string>",
  "destination_uuid": "<string>",
  "name": "<string>",
  "description": "<string>",
  "instant_deploy": true
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

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

Body

application/json

Application object that needs to be created.

project_uuid
string
required

The project UUID.

server_uuid
string
required

The server UUID.

environment_name
string
required

The environment name.

docker_compose_raw
string
required

The Docker Compose raw content.

destination_uuid
string

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

name
string

The application name.

description
string

The application description.

instant_deploy
boolean

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

Response

Application created successfully.

I