Skip to content

Environment Variables

VariableDescription
COOLIFY_URLCoolify instance URL
COOLIFY_TOKENAPI authentication token
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

Resource UUIDs (application, database, server, etc.) are stored in the database, not environment variables. Run coolify:provision to create resources and store their UUIDs automatically.

See Configuration Reference for the database schema.