feat: system configuration example
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
|
||||
return [
|
||||
// Application Configuration
|
||||
'name' => 'Vallarx',
|
||||
'name' => 'Application Name',
|
||||
'environment' => 'dev',
|
||||
'debug' => true,
|
||||
// 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',
|
||||
'uri' => 'mongodb://username:password@database-host:27017/?authSource=database&tls=true',
|
||||
'database' => 'database',
|
||||
// optional driver options
|
||||
'options' => [],
|
||||
'driverOptions' => [],
|
||||
@@ -65,13 +65,14 @@ return [
|
||||
'channel' => 'app',
|
||||
|
||||
// ── syslog driver options ──────────────────────────────────────────────
|
||||
// Identity tag passed to openlog(); visible in /var/logs/syslog and journalctl -t ktrix
|
||||
'ident' => 'ktrix',
|
||||
// Identity tag passed to openlog(); visible in syslog and journalctl.
|
||||
'ident' => 'application',
|
||||
|
||||
// openlog() facility constant. Common values: LOG_USER, LOG_LOCAL0 … LOG_LOCAL7
|
||||
'facility' => LOG_USER,
|
||||
],
|
||||
|
||||
// Security Configuration
|
||||
'security.salt' => 'a5418ed8c120b9d12c793ccea10571b74d0dcd4a4db7ca2f75e80fbdafb2bd9b',
|
||||
// Generate a unique value for each deployment, for example: openssl rand -hex 32
|
||||
'security.salt' => 'replace-with-a-random-secret',
|
||||
];
|
||||
Reference in New Issue
Block a user