From 9e7b1d9a4eac077fca555c3a22e11cb3da7fe350 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Mon, 23 Feb 2026 20:23:42 +0100 Subject: [PATCH 1/5] chore(core): add back coolify options to the app config file --- config/app.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/config/app.php b/config/app.php index 017fce78e..938c995b8 100644 --- a/config/app.php +++ b/config/app.php @@ -55,6 +55,21 @@ return [ 'url' => env('APP_URL', 'http://localhost'), + /* + |-------------------------------------------------------------------------- + | Coolify Application Options + |-------------------------------------------------------------------------- + | + | These are custom configuration options specific to Coolify. They allow + | you to configure the application port and whether HTTPS should be + | forced for all requests to the application. + | + */ + + 'port' => env('APP_PORT', 8000), + + 'force_https' => env('APP_FORCE_HTTPS', false), + /* |-------------------------------------------------------------------------- | Application Timezone From 107aef141a159b400b7daba5f49bc709906860b1 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Mon, 23 Feb 2026 20:24:26 +0100 Subject: [PATCH 2/5] chore(core): add coolify config file --- config/coolify.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 config/coolify.php diff --git a/config/coolify.php b/config/coolify.php new file mode 100644 index 000000000..141d58133 --- /dev/null +++ b/config/coolify.php @@ -0,0 +1,27 @@ + '5.0.0-alpha.1', + 'helper_version' => '2.0.0', + 'self_hosted' => env('SELF_HOSTED', true), + 'autoupdate' => env('AUTOUPDATE', false), + 'cdn_url' => env('CDN_URL', 'https://cdn.coollabs.io/v5.x'), + + 'migrations' => [ + 'enabled' => env('IS_MIGRATIONS_ENABLED', true), + ], + + 'seeders' => [ + 'enabled' => env('IS_SEEDERS_ENABLED', true), + ], + + 'scheduler' => [ + 'enabled' => env('IS_SCHEDULER_ENABLED', true), + ], + + 'horizon' => [ + 'enabled' => env('IS_HORIZON_ENABLED', true), + ], +]; From daa8764a71e42f032b97362984a2cb53be9e6590 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Mon, 23 Feb 2026 22:57:04 +0100 Subject: [PATCH 3/5] refactor(core): streamline boolean environment variable naming --- config/coolify.php | 10 +++++----- config/horizon.php | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) 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), From 870ca94defeaa50867ebd9f28bfe2c46d1f0de00 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Mon, 23 Feb 2026 23:15:09 +0100 Subject: [PATCH 4/5] docs: add v5.x-chore/add-coolify-configs changes to changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index aaeaaa56f..e0b44a9f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,6 +65,8 @@ All notable changes to this project will be documented in this file. - Completely refactor all database migrations for a cleaner, more consistent and stable database schema - Completely refactor all database models - Replace hardcoded queue strings with a `ProcessingQueue` enum +- `config/constants.php` to `config/coolify.php` for all Coolify-specific settings +- Environment variable naming to be shorter and more consistent ### Maintenance From 2d6df9b502e212cb97d01a233086ca3030ad9fb2 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Mon, 23 Feb 2026 23:17:14 +0100 Subject: [PATCH 5/5] docs: improve refactored changelog section wording --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0b44a9f9..dfb599f7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -62,8 +62,8 @@ All notable changes to this project will be documented in this file. ### Refactored -- Completely refactor all database migrations for a cleaner, more consistent and stable database schema -- Completely refactor all database models +- All database migrations for a cleaner, more consistent and stable database schema +- All database models for improved maintainability - Replace hardcoded queue strings with a `ProcessingQueue` enum - `config/constants.php` to `config/coolify.php` for all Coolify-specific settings - Environment variable naming to be shorter and more consistent