Create github

Create an application from a private repository using GitHub App

Usage

coolify app create github

Options

OptionTypeRequiredDefaultDescription
--base-directorystringNo—Base directory for the application
--build-commandstringNo—Custom build command
--build-packstringYes—Build pack: nixpacks, static, dockerfile, dockercompose (required)
--compose-domainstringArrayNo—Docker Compose service domain in <service>=<url>[,<url>] format (repeatable)
--custom-internal-namestringNo—Custom internal hostname
--descriptionstringNo—Application description
--destination-uuidstringNo—Destination UUID if server has multiple destinations
--disable-build-cachebooleanNofalseDisable the build cache
--docker-images-to-keepintegerNo0Number of Docker images to retain
--dockerfile-target-buildstringNo—Dockerfile target build stage
--domainsstringNo—Domain(s) for the application
--environment-namestringNo—Environment name
--environment-uuidstringNo—Environment UUID
--git-branchstringYes—Git branch (required)
--git-commit-shastringNo—Specific commit SHA to deploy
--git-repositorystringYes—Git repository in format 'owner/repo' (required)
--github-app-uuidstringYes—GitHub App UUID (required)
--gpu-countstringNo—GPU count
--gpu-device-idsstringNo—GPU device IDs
--gpu-driverstringNo—GPU driver
--gpu-optionsstringNo—GPU options
--health-check-enabledbooleanNofalseEnable health checks
--health-check-pathstringNo—Health check path
--include-source-commit-in-buildbooleanNofalseInclude the source commit in the build
--inject-build-args-to-dockerfilebooleanNofalseInject build arguments into the Dockerfile
--install-commandstringNo—Custom install command
--instant-deploybooleanNofalseDeploy immediately after creation
--is-consistent-container-name-enabledbooleanNofalseUse consistent container names
--is-env-sorting-enabledbooleanNofalseSort environment variables
--is-git-lfs-enabledbooleanNofalseEnable Git LFS
--is-git-shallow-clone-enabledbooleanNofalseUse a shallow Git clone
--is-git-submodules-enabledbooleanNofalseClone Git submodules
--is-gpu-enabledbooleanNofalseEnable GPU
--is-gzip-enabledbooleanNofalseEnable gzip compression
--is-log-drain-enabledbooleanNofalseEnable application log drain
--is-pr-deployments-public-enabledbooleanNofalseMake pull request deployments public
--is-preview-deployments-enabledbooleanNofalseEnable preview deployments
--is-raw-compose-deployment-enabledbooleanNofalseDeploy the raw Docker Compose definition
--is-stripprefix-enabledbooleanNofalseEnable path prefix stripping
--limits-cpusstringNo—CPU limit
--limits-memorystringNo—Memory limit
--max-restart-countintegerNo0Maximum container restart count
--namestringNo—Application name
--ports-exposesstringYes—Exposed ports, e.g., '3000' or '3000,8080' (required)
--ports-mappingsstringNo—Port mappings (host:container)
--preview-url-templatestringNo—Preview URL template
--project-uuidstringYes—Project UUID (required)
--publish-directorystringNo—Publish directory for static builds
--server-uuidstringYes—Server UUID (required)
--start-commandstringNo—Custom start command
--stop-grace-periodintegerNo0Container stop grace period in seconds
--tagstringArrayNo—Tag to assign to the application (repeatable)
--tagsstringSliceNo—Tags to assign to the application
--use-build-secretsbooleanNofalseUse Docker Build Secrets for build-time variables

Get current help

coolify app create github --help

The installed CLI help reflects the exact options available in your CLI version.

On this page