Files
2026-02-17 09:29:34 -06:00

20 lines
520 B
PHP

<?php
declare(strict_types=1);
/*
* Shared endpoint configuration.
*/
return [
'mysql' => [
'host' => getenv('LASUCA_DB_HOST') ?: '192.168.0.10',
'username' => getenv('LASUCA_DB_USER') ?: 'corey',
'password' => getenv('LASUCA_DB_PASSWORD') ?: '41945549',
'database' => getenv('LASUCA_DB_NAME') ?: 'controls',
],
'cache' => [
// Seconds to cache responses in shared storage (set to 0 to disable).
'ttl' => (int) (getenv('LASUCA_CACHE_TTL') ?: 1),
],
];