added .env variable and database config to skip ssl for DB DUMP

This commit is contained in:
ntaylor-86 2025-03-20 23:06:15 +10:00
parent a398c4ab84
commit 32736e2f74
2 changed files with 2 additions and 0 deletions

View file

@ -35,6 +35,7 @@ DB_PASSWORD=changeme1234
MYSQL_ROOT_PASSWORD=changeme1234
DB_PREFIX=null
DB_DUMP_PATH='/usr/bin'
DB_DUMP_SKIP_SSL=true
DB_CHARSET=utf8mb4
DB_COLLATION=utf8mb4_unicode_ci

View file

@ -81,6 +81,7 @@ return [
'unix_socket' => env('DB_SOCKET', ''),
'dump' => [
'dump_binary_path' => env('DB_DUMP_PATH', '/usr/local/bin'), // only the path, so without 'mysqldump'
'skip_ssl' => env('DB_DUMP_SKIP_SSL', false), // turn off SSL if not available
'use_single_transaction' => false,
'timeout' => 60 * 5, // 5 minute timeout
//'exclude_tables' => ['table1', 'table2'],