50 lines
1.4 KiB
PHP
50 lines
1.4 KiB
PHP
<?php
|
|
|
|
return [
|
|
// Database Configuration
|
|
'database' => [
|
|
// MongoDB connection URI (include credentials if needed)
|
|
'uri' => 'mongodb://ktrix:ktrix@127.0.0.1:27017/?authSource=ktrix&tls=false',
|
|
'database' => 'ktrix',
|
|
// optional driver options
|
|
'options' => [],
|
|
'driverOptions' => [],
|
|
],
|
|
|
|
/**
|
|
* Cache Configuration
|
|
*
|
|
* Set the cache store classes for different cache types.
|
|
* Uncomment and adjust the class names as needed.
|
|
*
|
|
* Available Cache Stores:
|
|
* - Ephemeral Cache: Short-lived, in-memory or file-based cache for sessions, rate limits, etc.
|
|
* - Persistent Cache: Long-lived cache for routes, modules, compiled configs, etc.
|
|
* - Blob Cache: Large binary objects storage.
|
|
*
|
|
* Predefined cache types:
|
|
* file - File-based cache store
|
|
* redis - Redis-based cache store
|
|
* memcached - Memcached-based cache store
|
|
*/
|
|
//'cache.ephemeral' => 'file',
|
|
//'cache.persistent' => 'file',
|
|
//'cache.blob' => 'file',
|
|
|
|
// Security Configuration
|
|
'security.salt' => 'a5418ed8c120b9d12c793ccea10571b74d0dcd4a4db7ca2f75e80fbdafb2bd9b',
|
|
|
|
// Application Configuration
|
|
'app' => [
|
|
'environment' => 'dev',
|
|
'debug' => true,
|
|
'name' => 'Ktrix',
|
|
],
|
|
|
|
// Domain Configuration
|
|
//'domain' => [
|
|
// 'default' => 'ktrix',
|
|
//],
|
|
|
|
];
|