Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Updated redis config.
James Cole31744440e0de
diff --git a/config/database.php b/config/database.phpindex b4e99a95ff..43fb464f72 100644--- a/config/database.php+++ b/config/database.php@@ -19,6 +19,8 @@* along with this program. If not, see <https://www.gnu.org/licenses/>.*/+use Illuminate\Support\Str;+declare(strict_types=1);@@ -90,15 +92,36 @@ return [],'migrations' => 'migrations',+ /*+ |--------------------------------------------------------------------------+ | Redis Databases+ |--------------------------------------------------------------------------+ |+ | Redis is an open source, fast, and advanced key-value store that also+ | provides a richer body of commands than a typical key-value system+ | such as APC or Memcached. Laravel makes it easy to dig right in.+ |+ */'redis' => [- 'client' => 'predis',+ 'client' => env('REDIS_CLIENT', 'predis'),+ 'options' => [+ 'cluster' => env('REDIS_CLUSTER', 'predis'),+ 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_database_'),+ ],'default' => [+ 'url' => env('REDIS_URL'),'host' => env('REDIS_HOST', '127.0.0.1'),'password' => env('REDIS_PASSWORD', null),'port' => env('REDIS_PORT', 6379),'database' => env('REDIS_DB', '0'),],-+ 'cache' => [+ 'url' => env('REDIS_URL'),+ 'host' => env('REDIS_HOST', '127.0.0.1'),+ 'password' => env('REDIS_PASSWORD', null),+ 'port' => env('REDIS_PORT', 6379),+ 'database' => env('REDIS_CACHE_DB', '1'),+ ],],];