112 lines
2.5 KiB
Markdown
112 lines
2.5 KiB
Markdown
[Skip to content](https://coolify.io/docs/api-reference/api/operations/create-dockercompose-application#VPContent)
|
||
|
||
Return to top
|
||
|
||
Deprecated
|
||
|
||
Create (Docker Compose)[](https://coolify.io/docs/api-reference/api/operations/create-dockercompose-application#create-docker-compose)
|
||
|
||
========================================================================================================================================
|
||
|
||
POST
|
||
|
||
/applications/dockercompose
|
||
|
||
Deprecated: Use POST /api/v1/services instead.
|
||
|
||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/create-dockercompose-application#authorizations)
|
||
|
||
------------------------------------------------------------------------------------------------------------------------
|
||
|
||
bearerAuth
|
||
|
||
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
|
||
|
||
Type
|
||
|
||
HTTP (bearer)
|
||
|
||
Request Body[](https://coolify.io/docs/api-reference/api/operations/create-dockercompose-application#request-body)
|
||
|
||
--------------------------------------------------------------------------------------------------------------------
|
||
|
||
application/json
|
||
|
||
SchemaJSON
|
||
|
||
JSON
|
||
|
||
{
|
||
|
||
"project\_uuid": "string",
|
||
|
||
"server\_uuid": "string",
|
||
|
||
"environment\_name": "string",
|
||
|
||
"environment\_uuid": "string",
|
||
|
||
"docker\_compose\_raw": "string",
|
||
|
||
"destination\_uuid": "string",
|
||
|
||
"name": "string",
|
||
|
||
"description": "string",
|
||
|
||
"instant\_deploy": true,
|
||
|
||
"use\_build\_server": true,
|
||
|
||
"connect\_to\_docker\_network": true,
|
||
|
||
"force\_domain\_override": true,
|
||
|
||
"is\_container\_label\_escape\_enabled": true
|
||
|
||
}
|
||
|
||
Responses[](https://coolify.io/docs/api-reference/api/operations/create-dockercompose-application#responses)
|
||
|
||
--------------------------------------------------------------------------------------------------------------
|
||
|
||
201400401409
|
||
|
||
Application created successfully.
|
||
|
||
Content-Type
|
||
|
||
application/json
|
||
|
||
SchemaJSON
|
||
|
||
JSON
|
||
|
||
{
|
||
|
||
"uuid": "string"
|
||
|
||
}
|
||
|
||
POST
|
||
|
||
/applications/dockercompose
|
||
|
||
Playground[](https://coolify.io/docs/api-reference/api/operations/create-dockercompose-application#playground)
|
||
|
||
----------------------------------------------------------------------------------------------------------------
|
||
|
||
Authorization
|
||
|
||
bearerAuth
|
||
|
||
Body
|
||
|
||
Try it out
|
||
|
||
Samples[](https://coolify.io/docs/api-reference/api/operations/create-dockercompose-application#samples)
|
||
|
||
----------------------------------------------------------------------------------------------------------
|
||
|
||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|