feat: system configuration example

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-07-25 20:28:14 -04:00
parent 076f14831b
commit 4ffbb906bf
2 changed files with 9 additions and 7 deletions
+2 -1
View File
@@ -14,6 +14,7 @@ node_modules/
# Backend development
/vendor/
/config/system.php
coverage/
*.cache
.phpunit.coverage
@@ -32,4 +33,4 @@ logs
# Runtime
/modules/
/storage/
/var/
/var/
@@ -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',
];