coolify/config/constants.php

99 lines
2.7 KiB
PHP
Raw Normal View History

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 [
2024-11-12 14:19:06 +00:00
'coolify' => [
'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',
2023-09-28 09:01:00 +00:00
'contact' => 'https://coolify.io/docs/contact',
],
2024-11-12 14:19:06 +00:00
'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'),
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'),
],
'horizon' => [
'is_horizon_enabled' => env('HORIZON_ENABLED', true),
'is_scheduler_enabled' => env('SCHEDULER_ENABLED', true),
],
'docker' => [
'minimum_required_version' => '26.0',
],
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),
2023-09-13 11:00:16 +00:00
'connection_timeout' => 10,
'server_interval' => 20,
'command_timeout' => 7200,
],
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
2023-08-14 13:22:29 +00:00
'limits' => [
2023-11-29 15:34:31 +00:00
'trial_period' => 0,
2023-08-14 13:22:29 +00:00
'server' => [
2023-08-31 13:00:59 +00:00
'zero' => 0,
'self-hosted' => 999999999999,
'basic' => env('LIMIT_SERVER_BASIC', 2),
'pro' => env('LIMIT_SERVER_PRO', 10),
'ultimate' => env('LIMIT_SERVER_ULTIMATE', 25),
'dynamic' => env('LIMIT_SERVER_DYNAMIC', 2),
2023-08-15 12:11:38 +00:00
],
2023-08-31 13:00:59 +00:00
'email' => [
'zero' => true,
2023-08-31 13:00:59 +00:00
'self-hosted' => true,
'basic' => true,
2023-08-30 16:23:55 +00:00
'pro' => true,
'ultimate' => true,
'dynamic' => true,
2023-08-30 16:23:55 +00:00
],
2023-08-15 12:11:38 +00:00
],
2024-11-12 14:53:05 +00:00
'waitlist' => [
'enabled' => env('WAITLIST', true),
'expiration' => 10,
],
'sentry' => [
'sentry_dsn' => env('SENTRY_DSN'),
],
'webhooks' => [
'feedback_discord_webhook' => env('FEEDBACK_DISCORD_WEBHOOK'),
'dev_webhook' => env('SERVEO_URL'),
],
'bunny' => [
'storage_api_key' => env('BUNNY_STORAGE_API_KEY'),
'api_key' => env('BUNNY_API_KEY'),
],
2023-06-12 10:00:01 +00:00
];