Create application
createApplicationCreate a new application in Coolify by specifying the source type (git repo, Dockerfile, or image) along with project and server UUIDs. Use the 'extra' field for additional configuration.
Instructions
Create a new application. type selects the source: 'public' (public git repo), 'private-github-app' (private repo via GitHub App, needs github_app_uuid), 'private-deploy-key' (private repo via SSH deploy key, needs private_key_uuid), 'dockerfile' (raw Dockerfile content in dockerfile), 'dockerimage' (prebuilt image, needs docker_registry_image_name and ports_exposes). Git-based types also need git_repository, git_branch, and build_pack. All types need project_uuid, server_uuid, and environment_name or environment_uuid (one is enough). Any other Coolify application field (install/build/start commands, base_directory, health checks, resource limits, ...) can be passed in extra; fields not valid for the chosen type are ignored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | Yes | Application source type | |
| extra | No | Additional Coolify application fields for the chosen type | |
| domains | No | ||
| build_pack | No | ||
| dockerfile | No | ||
| git_branch | No | ||
| description | No | ||
| server_uuid | Yes | ||
| project_uuid | Yes | ||
| ports_exposes | No | ||
| git_repository | No | ||
| instant_deploy | No | ||
| github_app_uuid | No | ||
| environment_name | No | Environment name (or pass environment_uuid) | |
| environment_uuid | No | Environment UUID (or pass environment_name) | |
| private_key_uuid | No | ||
| docker_registry_image_tag | No | ||
| docker_registry_image_name | No |