Files

188 lines
3.9 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[Skip to content](https://coolify.io/docs/api-reference/api/operations/create-dockerimage-application#VPContent)
Return to top
Create (Docker Image without git)[](https://coolify.io/docs/api-reference/api/operations/create-dockerimage-application#create-docker-image-without-git)
==========================================================================================================================================================
POST
/applications/dockerimage
Create new application based on a prebuilt docker image (without git).
Authorizations[](https://coolify.io/docs/api-reference/api/operations/create-dockerimage-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-dockerimage-application#request-body)
------------------------------------------------------------------------------------------------------------------
application/json
SchemaJSON
JSON
{
"project\_uuid": "string",
"server\_uuid": "string",
"environment\_name": "string",
"environment\_uuid": "string",
"docker\_registry\_image\_name": "string",
"docker\_registry\_image\_tag": "string",
"ports\_exposes": "string",
"destination\_uuid": "string",
"name": "string",
"description": "string",
"domains": "string",
"ports\_mappings": "string",
"health\_check\_enabled": true,
"health\_check\_path": "string",
"health\_check\_port": "string",
"health\_check\_host": "string",
"health\_check\_method": "string",
"health\_check\_return\_code": 0,
"health\_check\_scheme": "string",
"health\_check\_response\_text": "string",
"health\_check\_interval": 0,
"health\_check\_timeout": 0,
"health\_check\_retries": 0,
"health\_check\_start\_period": 0,
"limits\_memory": "string",
"limits\_memory\_swap": "string",
"limits\_memory\_swappiness": 0,
"limits\_memory\_reservation": "string",
"limits\_cpus": "string",
"limits\_cpuset": "string",
"limits\_cpu\_shares": 0,
"custom\_labels": "string",
"custom\_docker\_run\_options": "string",
"post\_deployment\_command": "string",
"post\_deployment\_command\_container": "string",
"pre\_deployment\_command": "string",
"pre\_deployment\_command\_container": "string",
"manual\_webhook\_secret\_github": "string",
"manual\_webhook\_secret\_gitlab": "string",
"manual\_webhook\_secret\_bitbucket": "string",
"manual\_webhook\_secret\_gitea": "string",
"redirect": "string",
"instant\_deploy": true,
"is\_force\_https\_enabled": true,
"use\_build\_server": true,
"is\_http\_basic\_auth\_enabled": true,
"http\_basic\_auth\_username": "string",
"http\_basic\_auth\_password": "string",
"connect\_to\_docker\_network": true,
"force\_domain\_override": true,
"autogenerate\_domain": true,
"is\_container\_label\_escape\_enabled": true
}
Responses[](https://coolify.io/docs/api-reference/api/operations/create-dockerimage-application#responses)
------------------------------------------------------------------------------------------------------------
201400401409
Application created successfully.
Content-Type
application/json
SchemaJSON
JSON
{
"uuid": "string"
}
POST
/applications/dockerimage
Playground[](https://coolify.io/docs/api-reference/api/operations/create-dockerimage-application#playground)
--------------------------------------------------------------------------------------------------------------
Authorization
bearerAuth
Body
Try it out
Samples[](https://coolify.io/docs/api-reference/api/operations/create-dockerimage-application#samples)
--------------------------------------------------------------------------------------------------------
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)