20 lines
691 B
PHP
20 lines
691 B
PHP
<?php
|
|
|
|
return [
|
|
'name' => $_ENV['APP_NAME'] ?? 'Kaffeekasse SaaS',
|
|
'env' => $_ENV['APP_ENV'] ?? 'production',
|
|
'debug' => (($_ENV['APP_DEBUG'] ?? '0') === '1'),
|
|
'url' => rtrim($_ENV['APP_URL'] ?? 'http://localhost:8080', '/'),
|
|
'timezone' => $_ENV['APP_TIMEZONE'] ?? 'Europe/Berlin',
|
|
'app_key' => $_ENV['APP_KEY'] ?? '',
|
|
'db' => [
|
|
'host' => $_ENV['DB_HOST'] ?? '127.0.0.1',
|
|
'port' => (int) ($_ENV['DB_PORT'] ?? 3306),
|
|
'name' => $_ENV['DB_NAME'] ?? '',
|
|
'user' => $_ENV['DB_USER'] ?? '',
|
|
'pass' => $_ENV['DB_PASS'] ?? '',
|
|
'charset' => 'utf8mb4',
|
|
],
|
|
'rfid_shared_secret' => $_ENV['RFID_SHARED_SECRET'] ?? '',
|
|
];
|