Skip to content

Configuration Reference

<?php
return [
// Coolify instance URL
'url' => env('COOLIFY_URL', 'https://app.coolify.io'),
// API token for authentication
'token' => env('COOLIFY_TOKEN'),
// Team ID (for multi-team setups)
'team_id' => env('COOLIFY_TEAM_ID'),
// GitHub App UUID (optional, for repo listing)
'github_app_uuid' => env('COOLIFY_GITHUB_APP_UUID'),
// Dashboard URI path
'path' => env('COOLIFY_PATH', 'coolify'),
// Dashboard domain (null = same as app)
'domain' => env('COOLIFY_DOMAIN'),
// Dashboard middleware
'middleware' => ['web'],
// Dashboard auto-refresh interval (seconds)
'polling_interval' => env('COOLIFY_POLLING_INTERVAL', 10),
// API response cache duration (seconds)
'cache_ttl' => env('COOLIFY_CACHE_TTL', 30),
// API request timeout (seconds)
'timeout' => env('COOLIFY_TIMEOUT', 60),
// Notification email
'notifications' => [
'email' => env('COOLIFY_NOTIFICATION_EMAIL'),
],
// Log channel for Coolify events
'log_channel' => env('COOLIFY_LOG_CHANNEL', 'stack'),
// Docker configuration
'docker' => [
'php_version' => env('COOLIFY_PHP_VERSION', '8.4'),
'health_check_path' => env('COOLIFY_HEALTH_CHECK_PATH', '/up'),
'nginx' => [
'client_max_body_size' => env('COOLIFY_NGINX_MAX_BODY_SIZE', '35M'),
'upload_max_filesize' => env('COOLIFY_UPLOAD_MAX_FILESIZE', '30M'),
'post_max_size' => env('COOLIFY_POST_MAX_SIZE', '35M'),
],
'php' => [
'memory_limit' => env('COOLIFY_PHP_MEMORY_LIMIT', '256M'),
'max_execution_time' => env('COOLIFY_PHP_MAX_EXECUTION_TIME', 60),
],
],
];

Resource UUIDs (application, database, redis, etc.) are stored in the coolify_resources database table, not in config. Run the migration after installing:

Terminal window
php artisan migrate

See Database Schema for the table structure.

The coolify_resources table stores provisioned resource information:

ColumnTypeDescription
namestringUnique resource name
server_uuidstringCoolify server
project_uuidstringCoolify project
environmentstringEnvironment (production, staging)
deploy_key_uuidstringSSH key for git access
repositorystringGitHub repository (owner/repo)
branchstringGit branch
application_uuidstringCoolify application
database_uuidstringPostgreSQL instance
redis_uuidstringDragonfly/Redis instance
is_defaultbooleanDefault resource for commands
metadatajsonAdditional data