coolify/config/app.php

142 lines
4.7 KiB
PHP
Raw Normal View History

2023-03-17 14:33:48 +00:00
<?php
2025-03-26 19:09:01 +00:00
declare(strict_types=1);
2023-03-17 14:33:48 +00:00
2025-03-26 19:09:01 +00:00
return [
2023-03-17 14:33:48 +00:00
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
2025-11-30 15:50:04 +00:00
| This value is the name of your application, which will be used when the
2023-03-17 14:33:48 +00:00
| framework needs to place the application's name in a notification or
2025-11-30 15:50:04 +00:00
| other UI elements where an application name needs to be displayed.
2023-03-17 14:33:48 +00:00
|
*/
2025-03-26 19:09:01 +00:00
'name' => env('APP_NAME', 'Coolify'),
2023-03-17 14:33:48 +00:00
/*
|--------------------------------------------------------------------------
| Application Environment
|--------------------------------------------------------------------------
|
| This value determines the "environment" your application is currently
| running in. This may determine how you prefer to configure various
| services the application utilizes. Set this in your ".env" file.
|
*/
'env' => env('APP_ENV', 'production'),
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every error that occurs within your
| application. If disabled, a simple generic error page is shown.
|
*/
2024-06-10 20:43:34 +00:00
'debug' => (bool) env('APP_DEBUG', false),
2023-03-17 14:33:48 +00:00
/*
|--------------------------------------------------------------------------
| Application URL
|--------------------------------------------------------------------------
|
| This URL is used by the console to properly generate URLs when using
| the Artisan command line tool. You should set this to the root of
2025-11-30 15:50:04 +00:00
| the application so that it's available within Artisan commands.
2023-03-17 14:33:48 +00:00
|
*/
'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),
2023-03-17 14:33:48 +00:00
/*
|--------------------------------------------------------------------------
| Application Timezone
|--------------------------------------------------------------------------
|
| Here you may specify the default timezone for your application, which
2025-11-30 15:50:04 +00:00
| will be used by the PHP date and date-time functions. The timezone
| is set to "UTC" by default as it is suitable for most use cases.
2023-03-17 14:33:48 +00:00
|
*/
'timezone' => 'UTC',
/*
|--------------------------------------------------------------------------
| Application Locale Configuration
|--------------------------------------------------------------------------
|
| The application locale determines the default locale that will be used
2025-11-30 15:50:04 +00:00
| by Laravel's translation / localization methods. This option can be
| set to any locale for which you plan to have translation strings.
2023-03-17 14:33:48 +00:00
|
*/
2025-11-30 15:50:04 +00:00
'locale' => env('APP_LOCALE', 'en'),
2023-03-17 14:33:48 +00:00
2025-11-30 15:50:04 +00:00
'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),
2023-03-17 14:33:48 +00:00
2025-11-30 15:50:04 +00:00
'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'),
2023-03-17 14:33:48 +00:00
/*
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
|
2025-11-30 15:50:04 +00:00
| This key is utilized by Laravel's encryption services and should be set
| to a random, 32 character string to ensure that all encrypted values
| are secure. You should do this prior to deploying the application.
2023-03-17 14:33:48 +00:00
|
*/
2025-11-30 15:50:04 +00:00
'cipher' => 'AES-256-CBC',
2023-03-17 14:33:48 +00:00
'key' => env('APP_KEY'),
2025-11-30 15:50:04 +00:00
'previous_keys' => [
...array_filter(
2025-03-26 19:09:01 +00:00
explode(',', (string) env('APP_PREVIOUS_KEYS', '')),
2025-11-30 15:50:04 +00:00
),
],
2023-03-17 14:33:48 +00:00
/*
|--------------------------------------------------------------------------
| Maintenance Mode Driver
|--------------------------------------------------------------------------
|
| These configuration options determine the driver used to determine and
| manage Laravel's "maintenance mode" status. The "cache" driver will
| allow maintenance mode to be controlled across multiple machines.
|
| Supported drivers: "file", "cache"
|
*/
'maintenance' => [
2025-03-26 19:09:01 +00:00
'driver' => env('APP_MAINTENANCE_DRIVER', 'cache'),
2025-11-30 15:50:04 +00:00
'store' => env('APP_MAINTENANCE_STORE', 'database'),
2023-03-17 14:33:48 +00:00
],
];