new constants file

This commit is contained in:
peaklabs-dev
2024-11-12 15:19:06 +01:00
parent 1c5ddab30d
commit 2ffc9da357
2 changed files with 53 additions and 29 deletions

View File

@@ -1,10 +1,46 @@
<?php <?php
return [ return [
'docs' => [ 'coolify' => [
'base_url' => 'https://coolify.io/docs', 'version' => '4.0.0-beta.368',
'self_hosted' => env('SELF_HOSTED', true),
'autoupdate' => env('AUTOUPDATE', false),
'base_config_path' => env('BASE_CONFIG_PATH', '/data/coolify'),
'helper_image' => env('HELPER_IMAGE', 'ghcr.io/coollabsio/coolify-helper'),
'is_windows_docker_desktop' => env('IS_WINDOWS_DOCKER_DESKTOP', false),
],
'urls' => [
'docs' => 'https://coolify.io/docs',
'contact' => 'https://coolify.io/docs/contact', 'contact' => 'https://coolify.io/docs/contact',
], ],
'services' => [
// Temporary disabled until cache is implemented
// 'official' => 'https://cdn.coollabs.io/coolify/service-templates.json',
'official' => 'https://raw.githubusercontent.com/coollabsio/coolify/main/templates/service-templates.json',
],
'terminal' => [
'protocol' => env('TERMINAL_PROTOCOL'),
'host' => env('TERMINAL_HOST'),
'port' => env('TERMINAL_PORT'),
],
'pusher' => [
'host' => env('PUSHER_HOST'),
'app_key' => env('PUSHER_APP_KEY'),
],
'horizon' => [
'is_horizon_enabled' => env('HORIZON_ENABLED', true),
'is_scheduler_enabled' => env('SCHEDULER_ENABLED', true),
],
'docker' => [
'minimum_required_version' => '26.0',
],
'ssh' => [ 'ssh' => [
'mux_enabled' => env('MUX_ENABLED', env('SSH_MUX_ENABLED', true)), 'mux_enabled' => env('MUX_ENABLED', env('SSH_MUX_ENABLED', true)),
'mux_persist_time' => env('SSH_MUX_PERSIST_TIME', 3600), 'mux_persist_time' => env('SSH_MUX_PERSIST_TIME', 3600),
@@ -12,23 +48,28 @@ return [
'server_interval' => 20, 'server_interval' => 20,
'command_timeout' => 7200, 'command_timeout' => 7200,
], ],
'docker' => [
'minimum_required_version' => '26.0',
],
'waitlist' => [
'expiration' => 10,
],
'invitation' => [ 'invitation' => [
'link' => [ 'link' => [
'base_url' => '/invitations/', 'base_url' => '/invitations/',
'expiration_days' => 3, 'expiration_days' => 3,
], ],
], ],
'services' => [
// Temporary disabled until cache is implemented 'waitlist' => [
// 'official' => 'https://cdn.coollabs.io/coolify/service-templates.json', 'enabled' => env('WAITLIST', true),
'official' => 'https://raw.githubusercontent.com/coollabsio/coolify/main/templates/service-templates.json', 'expiration' => 10,
], ],
'sentry' => [
'sentry_dsn' => env('SENTRY_DSN'),
],
'webhooks' => [
'feedback_discord_webhook' => env('FEEDBACK_DISCORD_WEBHOOK'),
'dev_webhook' => env('SERVEO_URL'),
],
'limits' => [ 'limits' => [
'trial_period' => 0, 'trial_period' => 0,
'server' => [ 'server' => [

View File

@@ -1,17 +0,0 @@
<?php
return [
'sentry_dsn' => env('SENTRY_DSN'),
'docs' => 'https://coolify.io/docs/',
'contact' => 'https://coolify.io/docs/contact',
'feedback_discord_webhook' => env('FEEDBACK_DISCORD_WEBHOOK'),
'self_hosted' => env('SELF_HOSTED', true),
'waitlist' => env('WAITLIST', false),
'license_url' => 'https://licenses.coollabs.io',
'dev_webhook' => env('SERVEO_URL'),
'is_windows_docker_desktop' => env('IS_WINDOWS_DOCKER_DESKTOP', false),
'base_config_path' => env('BASE_CONFIG_PATH', '/data/coolify'),
'helper_image' => env('HELPER_IMAGE', 'ghcr.io/coollabsio/coolify-helper'),
'is_horizon_enabled' => env('HORIZON_ENABLED', true),
'is_scheduler_enabled' => env('SCHEDULER_ENABLED', true),
];