1
0
mirror of https://github.com/Kovah/LinkAce.git synced 2025-03-14 19:59:38 +01:00

Adjust the backup configuration to correctly use env variables

This commit is contained in:
Kovah 2022-01-14 10:45:34 +01:00
parent 1b9dbade0c
commit fd78b0e597
No known key found for this signature in database
GPG Key ID: AAAA031BA9830D7B

View File

@ -82,7 +82,7 @@ return [
* For a complete list of available customization options, see https://github.com/spatie/db-dumper
*/
'databases' => [
'mysql',
env('DB_CONNECTION', 'mysql')
],
],
@ -261,7 +261,7 @@ return [
* After cleaning up the backups remove the oldest backup until
* this amount of megabytes has been reached.
*/
'delete_oldest_backups_when_using_more_megabytes_than' => 5000,
'delete_oldest_backups_when_using_more_megabytes_than' => env('BACKUP_MAX_SIZE', 500),
],
],