Create Application — Private Repository (Deploy Key)
coolify_create_application_deploykeyCreate an application from a private Git repository using a deploy key for authentication, requiring a pre-stored private key in Coolify and its public key on GitHub.
Instructions
Create an application from a private Git repository with a deploy key. You can deploy private repos with a deploy key. Requires a private key already stored in Coolify (via coolify_create_private_key) and the public key added to GitHub (via github_add_deploy_key).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Application display name | |
| reveal | No | Reveal redacted secret values in the response (default false; the call is audited) | |
| domains | No | FQDN for single-container apps (not for dockercompose — use coolify_set_compose_config instead) | |
| instance | Yes | REQUIRED — which Coolify instance to mutate: 'prod' (Hetzner VPS) or 'dev' (local OrbStack VM). No default: state the target explicitly so a write never lands on prod by accident. | |
| build_pack | No | Build strategy | nixpacks |
| git_branch | No | Git branch to deploy (default: main) | main |
| description | No | Application description | |
| server_uuid | Yes | UUID of the destination server | |
| project_uuid | Yes | UUID of the target project | |
| ports_exposes | No | Comma-separated ports to expose (default: 8000) | 8000 |
| git_repository | Yes | Git SSH URL (e.g. 'git@github.com:AlobarQuest/my-app.git') — must be SSH format for deploy key auth | |
| destination_uuid | Yes | UUID of the Docker network/destination on the server | |
| environment_name | No | Environment name (default: production) | production |
| private_key_uuid | Yes | UUID of the Coolify private key (from coolify_create_private_key) |