mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
chore(config): use redis for sessions
- switch from database stored sessions to redis for improved performance and session TTL - this allows us to remove the session DB table cleanup job needed on v4
This commit is contained in:
parent
53c2046a9f
commit
cf081bba5b
1 changed files with 4 additions and 4 deletions
|
|
@ -19,7 +19,7 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'driver' => env('SESSION_DRIVER', 'database'),
|
||||
'driver' => env('SESSION_DRIVER', 'redis'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
@ -74,7 +74,7 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'connection' => env('SESSION_CONNECTION'),
|
||||
'connection' => env('SESSION_CONNECTION', 'sessions'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
@ -102,7 +102,7 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'store' => env('SESSION_STORE'),
|
||||
'store' => env('SESSION_STORE', 'redis'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
@ -130,7 +130,7 @@ return [
|
|||
|
||||
'cookie' => env(
|
||||
'SESSION_COOKIE',
|
||||
Str::slug((string) env('APP_NAME', 'laravel')).'-session',
|
||||
Str::slug((string) env('APP_NAME', 'coolify')).'-session',
|
||||
),
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue