diff --git a/config/coolify.php b/config/coolify.php index 141d58133..49531db51 100644 --- a/config/coolify.php +++ b/config/coolify.php @@ -6,22 +6,22 @@ return [ 'version' => '5.0.0-alpha.1', 'helper_version' => '2.0.0', 'self_hosted' => env('SELF_HOSTED', true), - 'autoupdate' => env('AUTOUPDATE', false), + 'autoupdate' => env('AUTOUPDATE_ENABLED', false), 'cdn_url' => env('CDN_URL', 'https://cdn.coollabs.io/v5.x'), 'migrations' => [ - 'enabled' => env('IS_MIGRATIONS_ENABLED', true), + 'enabled' => env('MIGRATIONS_ENABLED', true), ], 'seeders' => [ - 'enabled' => env('IS_SEEDERS_ENABLED', true), + 'enabled' => env('SEEDERS_ENABLED', true), ], 'scheduler' => [ - 'enabled' => env('IS_SCHEDULER_ENABLED', true), + 'enabled' => env('SCHEDULER_ENABLED', true), ], 'horizon' => [ - 'enabled' => env('IS_HORIZON_ENABLED', true), + 'enabled' => env('HORIZON_ENABLED', true), ], ]; diff --git a/config/horizon.php b/config/horizon.php index 0090d8ae1..cc75f6a84 100644 --- a/config/horizon.php +++ b/config/horizon.php @@ -192,7 +192,7 @@ return [ */ 'defaults' => [ - ...((bool) env('IS_WORKER_SERVER', false) ? [] : [ + ...((bool) env('WORKER_SERVER', false) ? [] : [ 'jobs' => [ 'connection' => 'redis', 'queue' => ['high', 'default'], @@ -220,7 +220,7 @@ return [ 'workers-name' => 'deployments', ], ]), - ...((bool) env('IS_WORKER_SERVER', false) ? [ + ...((bool) env('WORKER_SERVER', false) ? [ 'worker-jobs' => [ 'connection' => 'redis', 'queue' => ['worker-high', 'worker-default'], @@ -252,7 +252,7 @@ return [ 'environments' => [ '*' => [ - ...((bool) env('IS_WORKER_SERVER', false) ? [] : [ + ...((bool) env('WORKER_SERVER', false) ? [] : [ 'jobs' => [ 'minProcesses' => env('HORIZON_JOBS_MIN_PROCESSES', 1), 'maxProcesses' => env('HORIZON_JOBS_MAX_PROCESSES', 4), @@ -266,7 +266,7 @@ return [ 'balanceCooldown' => env('HORIZON_DEPLOYMENTS_BALANCE_COOLDOWN', 2), ], ]), - ...((bool) env('IS_WORKER_SERVER', false) ? [ + ...((bool) env('WORKER_SERVER', false) ? [ 'worker-jobs' => [ 'minProcesses' => env('HORIZON_JOBS_MIN_PROCESSES', 1), 'maxProcesses' => env('HORIZON_JOBS_MAX_PROCESSES', 6),