Applications

Create (Docker Compose)

Deprecated: Use POST /api/v1/services instead.

post/applications/dockercompose

Request body

project_uuidstring required

The project UUID.

server_uuidstring required

The server UUID.

environment_namestring required

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

environment_uuidstring required

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

docker_compose_rawstring required

The Docker Compose raw content.

destination_uuidstring

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

namestring

The application name.

descriptionstring

The application description.

instant_deployboolean

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

use_build_serverboolean nullable

Use build server.

connect_to_docker_networkboolean

The flag to connect the service to the predefined Docker network.

force_domain_overrideboolean

Force domain usage even if conflicts are detected. Default is false.

is_container_label_escape_enabledboolean

Escape special characters in labels. By default, $ (and other chars) is escaped. So if you write $ in the labels, it will be saved as $$. If you want to use env variables inside the labels, turn this off.

Response

Application created successfully.

uuidstring

Changes