lib/config.php aktualisiert

This commit is contained in:
Fabian Schieder 2026-03-23 19:21:42 +00:00
parent 80dcdc66a5
commit 2c0e6a2fbd

View File

@ -6,11 +6,11 @@ declare(strict_types=1);
return [ return [
'db' => [ 'db' => [
'host' => getenv('GEIZKRAGEN_DB_HOST') ?: 'localhost', 'host' => getenv('GEIZKRAGEN_DB_HOST') ?: 'HOST',
'port' => (int)(getenv('GEIZKRAGEN_DB_PORT') ?: 3306), 'port' => (int)(getenv('GEIZKRAGEN_DB_PORT') ?: 3306),
'user' => getenv('GEIZKRAGEN_DB_USER') ?: 'User', 'user' => getenv('GEIZKRAGEN_DB_USER') ?: 'USER',
'pass' => getenv('GEIZKRAGEN_DB_PASS') ?: 'password', 'pass' => getenv('GEIZKRAGEN_DB_PASS') ?: 'PASSWORD',
'name' => getenv('GEIZKRAGEN_DB_NAME') ?: 'DB-Name', 'name' => getenv('GEIZKRAGEN_DB_NAME') ?: 'DATABASE',
'charset' => getenv('GEIZKRAGEN_DB_CHARSET') ?: 'utf8mb4', 'charset' => getenv('GEIZKRAGEN_DB_CHARSET') ?: 'utf8mb4',
], ],
]; ];