2023-06-12 10:00:01 +00:00
|
|
|
<?php
|
2024-06-10 20:43:34 +00:00
|
|
|
|
2023-06-12 10:00:01 +00:00
|
|
|
return [
|
2026-02-16 01:54:19 +00:00
|
|
|
// MapleDeploy branding: registry pointed to Forgejo, auto-update disabled by default
|
2024-11-12 14:19:06 +00:00
|
|
|
'coolify' => [
|
2026-02-04 17:39:02 +00:00
|
|
|
'version' => '4.0.0-beta.463',
|
2025-11-06 13:33:42 +00:00
|
|
|
'helper_version' => '1.0.12',
|
2025-09-15 13:40:24 +00:00
|
|
|
'realtime_version' => '1.0.10',
|
2024-11-12 14:19:06 +00:00
|
|
|
'self_hosted' => env('SELF_HOSTED', true),
|
2026-02-16 01:54:19 +00:00
|
|
|
'autoupdate' => env('AUTOUPDATE', false),
|
2024-11-12 14:19:06 +00:00
|
|
|
'base_config_path' => env('BASE_CONFIG_PATH', '/data/coolify'),
|
2026-02-16 01:54:19 +00:00
|
|
|
'registry_url' => env('REGISTRY_URL', 'forgejo.mapledeploy.ca'),
|
|
|
|
|
'helper_image' => env('HELPER_IMAGE', 'ghcr.io/coollabsio/coolify-helper'),
|
|
|
|
|
'realtime_image' => env('REALTIME_IMAGE', 'ghcr.io/coollabsio/coolify-realtime'),
|
2024-11-12 14:19:06 +00:00
|
|
|
'is_windows_docker_desktop' => env('IS_WINDOWS_DOCKER_DESKTOP', false),
|
2025-11-28 14:20:13 +00:00
|
|
|
'cdn_url' => env('CDN_URL', 'https://cdn.coollabs.io'),
|
|
|
|
|
'versions_url' => env('VERSIONS_URL', env('CDN_URL', 'https://cdn.coollabs.io').'/coolify/versions.json'),
|
|
|
|
|
'upgrade_script_url' => env('UPGRADE_SCRIPT_URL', env('CDN_URL', 'https://cdn.coollabs.io').'/coolify/upgrade.sh'),
|
2025-11-05 13:31:53 +00:00
|
|
|
'releases_url' => 'https://cdn.coolify.io/releases.json',
|
2024-11-12 14:19:06 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
'urls' => [
|
2026-02-16 01:54:19 +00:00
|
|
|
'docs' => 'https://mapledeploy.ca/docs',
|
|
|
|
|
'contact' => 'https://mapledeploy.ca/contact',
|
2023-09-28 09:01:00 +00:00
|
|
|
],
|
2024-11-12 14:19:06 +00:00
|
|
|
|
|
|
|
|
'services' => [
|
|
|
|
|
// Temporary disabled until cache is implemented
|
|
|
|
|
// 'official' => 'https://cdn.coollabs.io/coolify/service-templates.json',
|
2025-08-13 16:51:15 +00:00
|
|
|
'official' => 'https://raw.githubusercontent.com/coollabsio/coolify/v4.x/templates/service-templates-latest.json',
|
2025-08-10 08:10:14 +00:00
|
|
|
'file_name' => 'service-templates-latest.json',
|
2024-11-12 14:19:06 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
'terminal' => [
|
|
|
|
|
'protocol' => env('TERMINAL_PROTOCOL'),
|
|
|
|
|
'host' => env('TERMINAL_HOST'),
|
|
|
|
|
'port' => env('TERMINAL_PORT'),
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
'pusher' => [
|
|
|
|
|
'host' => env('PUSHER_HOST'),
|
2024-11-12 14:53:05 +00:00
|
|
|
'port' => env('PUSHER_PORT'),
|
2024-11-12 14:19:06 +00:00
|
|
|
'app_key' => env('PUSHER_APP_KEY'),
|
|
|
|
|
],
|
|
|
|
|
|
2024-12-11 16:01:06 +00:00
|
|
|
'migration' => [
|
|
|
|
|
'is_migration_enabled' => env('MIGRATION_ENABLED', true),
|
|
|
|
|
],
|
|
|
|
|
|
2024-12-11 20:31:12 +00:00
|
|
|
'seeder' => [
|
|
|
|
|
'is_seeder_enabled' => env('SEEDER_ENABLED', true),
|
|
|
|
|
],
|
|
|
|
|
|
2024-11-12 14:19:06 +00:00
|
|
|
'horizon' => [
|
|
|
|
|
'is_horizon_enabled' => env('HORIZON_ENABLED', true),
|
|
|
|
|
'is_scheduler_enabled' => env('SCHEDULER_ENABLED', true),
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
'docker' => [
|
2024-12-27 09:49:13 +00:00
|
|
|
'minimum_required_version' => '24.0',
|
2024-11-12 14:19:06 +00:00
|
|
|
],
|
|
|
|
|
|
2023-09-28 09:01:00 +00:00
|
|
|
'ssh' => [
|
2024-09-17 13:54:22 +00:00
|
|
|
'mux_enabled' => env('MUX_ENABLED', env('SSH_MUX_ENABLED', true)),
|
|
|
|
|
'mux_persist_time' => env('SSH_MUX_PERSIST_TIME', 3600),
|
2025-09-10 06:19:38 +00:00
|
|
|
'mux_health_check_enabled' => env('SSH_MUX_HEALTH_CHECK_ENABLED', true),
|
|
|
|
|
'mux_health_check_timeout' => env('SSH_MUX_HEALTH_CHECK_TIMEOUT', 5),
|
|
|
|
|
'mux_max_age' => env('SSH_MUX_MAX_AGE', 1800), // 30 minutes
|
2023-09-13 11:00:16 +00:00
|
|
|
'connection_timeout' => 10,
|
|
|
|
|
'server_interval' => 20,
|
2025-09-25 12:41:05 +00:00
|
|
|
'command_timeout' => 3600,
|
2025-09-07 08:26:23 +00:00
|
|
|
'max_retries' => env('SSH_MAX_RETRIES', 3),
|
|
|
|
|
'retry_base_delay' => env('SSH_RETRY_BASE_DELAY', 2), // seconds
|
|
|
|
|
'retry_max_delay' => env('SSH_RETRY_MAX_DELAY', 30), // seconds
|
|
|
|
|
'retry_multiplier' => env('SSH_RETRY_MULTIPLIER', 2),
|
2023-09-13 11:00:16 +00:00
|
|
|
],
|
2024-11-12 14:19:06 +00:00
|
|
|
|
2023-06-12 10:00:01 +00:00
|
|
|
'invitation' => [
|
|
|
|
|
'link' => [
|
|
|
|
|
'base_url' => '/invitations/',
|
2024-11-08 09:52:24 +00:00
|
|
|
'expiration_days' => 3,
|
2023-06-12 10:00:01 +00:00
|
|
|
],
|
|
|
|
|
],
|
2024-11-12 14:19:06 +00:00
|
|
|
|
2025-08-18 12:54:08 +00:00
|
|
|
'email_change' => [
|
|
|
|
|
'verification_code_expiry_minutes' => 10,
|
|
|
|
|
],
|
|
|
|
|
|
2026-02-16 01:54:19 +00:00
|
|
|
// MapleDeploy branding: telemetry disabled
|
2024-11-12 14:53:05 +00:00
|
|
|
'sentry' => [
|
2026-02-16 01:54:19 +00:00
|
|
|
'sentry_dsn' => null,
|
2024-11-12 14:53:05 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
'webhooks' => [
|
2026-02-16 01:54:19 +00:00
|
|
|
'feedback_discord_webhook' => null,
|
2024-11-12 14:53:05 +00:00
|
|
|
'dev_webhook' => env('SERVEO_URL'),
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
'bunny' => [
|
|
|
|
|
'storage_api_key' => env('BUNNY_STORAGE_API_KEY'),
|
|
|
|
|
'api_key' => env('BUNNY_API_KEY'),
|
|
|
|
|
],
|
2025-11-17 08:59:17 +00:00
|
|
|
|
|
|
|
|
'server_checks' => [
|
|
|
|
|
// Notification delay configuration for parallel server checks
|
|
|
|
|
// Used for Traefik version checks and other future server check jobs
|
|
|
|
|
// These settings control how long to wait before sending notifications
|
|
|
|
|
// after dispatching parallel check jobs for all servers
|
|
|
|
|
|
|
|
|
|
// Minimum delay in seconds (120s = 2 minutes)
|
|
|
|
|
// Accounts for job processing time, retries, and network latency
|
|
|
|
|
'notification_delay_min' => 120,
|
|
|
|
|
|
|
|
|
|
// Maximum delay in seconds (300s = 5 minutes)
|
|
|
|
|
// Prevents excessive waiting for very large server counts
|
|
|
|
|
'notification_delay_max' => 300,
|
|
|
|
|
|
|
|
|
|
// Scaling factor: seconds to add per server (0.2)
|
|
|
|
|
// Formula: delay = min(max, max(min, serverCount * scaling))
|
|
|
|
|
// Examples:
|
|
|
|
|
// - 100 servers: 120s (uses minimum)
|
|
|
|
|
// - 1000 servers: 200s
|
|
|
|
|
// - 2000 servers: 300s (hits maximum)
|
|
|
|
|
'notification_delay_scaling' => 0.2,
|
|
|
|
|
],
|
2023-06-12 10:00:01 +00:00
|
|
|
];
|