Skip to content

Environment Variables

VariableDescription
COOLIFY_URLCoolify instance URL
COOLIFY_TOKENAPI authentication token
VariableDescription
COOLIFY_PROJECT_UUIDSet automatically by coolify:provision
VariableDefaultDescription
COOLIFY_TEAM_IDnullTeam for multi-team setups
COOLIFY_GITHUB_APP_UUIDnullGitHub App for repo listing
COOLIFY_PATHcoolifyDashboard URI path
COOLIFY_DOMAINnullDashboard subdomain
COOLIFY_POLLING_INTERVAL10Dashboard refresh (seconds)
COOLIFY_CACHE_TTL30API cache duration (seconds)
COOLIFY_TIMEOUT60API timeout (seconds)
COOLIFY_NOTIFICATION_EMAILnullDeploy notification email
COOLIFY_LOG_CHANNELstackLog channel for events
VariableDefaultDescription
COOLIFY_PHP_VERSION8.4PHP version (8.3 or 8.4)
COOLIFY_USE_BASE_IMAGEtrueUse pre-built base images for fast builds
COOLIFY_AUTO_MIGRATEtrueRun migrations on container startup
COOLIFY_DB_WAIT_TIMEOUT30Seconds to wait for DB before migrating
COOLIFY_HEALTH_CHECK_PATH/upHealth endpoint
COOLIFY_NGINX_MAX_BODY_SIZE35MNginx body limit
COOLIFY_UPLOAD_MAX_FILESIZE30MPHP upload limit
COOLIFY_POST_MAX_SIZE35MPHP POST limit
COOLIFY_PHP_MEMORY_LIMIT256MPHP memory limit
COOLIFY_PHP_MAX_EXECUTION_TIME60PHP timeout

When COOLIFY_USE_BASE_IMAGE=true (default):

  • Uses pre-built images from ghcr.io/stumason/laravel-coolify-base
  • Build time: ~2-3 minutes
  • Automatically selects -node variant if package.json exists

When COOLIFY_USE_BASE_IMAGE=false:

  • Builds from php:x.x-fpm-bookworm directly
  • Build time: ~12 minutes
  • Use this if you need custom PHP extensions

These control how Laravel Coolify connects to Laravel Kick on your deployed apps.

VariableDefaultDescription
COOLIFY_KICK_ENABLEDtrueEnable Kick integration
COOLIFY_KICK_CACHE_TTL60Cache Kick config lookups (seconds)
COOLIFY_KICK_TIMEOUT10Kick API timeout (seconds)

These are set in your application’s Coolify environment (not your local .env):

VariableDescription
KICK_ENABLEDSet to true to enable Kick endpoints
KICK_TOKENAuthentication token for Kick API
KICK_PREFIXOptional, defaults to kick

Only COOLIFY_PROJECT_UUID is stored in your .env. All other resource UUIDs (applications, databases, etc.) are fetched from the Coolify API.

When you run commands like coolify:deploy, the package automatically finds your application by matching your local git repository URL with applications in Coolify.