coolify/config/constants.php

84 lines
2.3 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.399',
'helper_version' => '1.0.7',
'realtime_version' => '1.0.6',
2024-11-12 14:19:06 +00:00
'self_hosted' => env('SELF_HOSTED', true),
2024-11-15 20:06:57 +00:00
'autoupdate' => env('AUTOUPDATE'),
2024-11-12 14:19:06 +00:00
'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'),
],
2024-12-11 16:01:06 +00:00
'migration' => [
'is_migration_enabled' => env('MIGRATION_ENABLED', true),
],
'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' => [
'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),
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
2024-11-12 14:53:05 +00:00
'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
];