Some fixes for registering hosts, enable jobs to go to postgres, initial setup fixes

This commit is contained in:
Deon George
2022-03-11 23:49:15 +11:00
parent cf3b1947a4
commit 4ff29e7e43
7 changed files with 38 additions and 5 deletions

View File

@@ -118,6 +118,23 @@ return [
'database' => env('DB_AUTHENTICATION_DATABASE', 'admin'), // required with Mongo 3+
],
],
'jobs' => [
'driver' => 'pgsql',
'host' => env('DB_JOBS_HOST', '127.0.0.1'),
'port' => env('DB_JOBS_PORT', '5432'),
'database' => env('DB_JOBS_DATABASE', 'forge'),
'username' => env('DB_JOBS_USERNAME', 'forge'),
'password' => env('DB_JOBS_PASSWORD', ''),
'charset' => 'utf8',
'prefix' => '',
'prefix_indexes' => true,
'schema' => 'public',
'sslmode' => 'disable', //depends on your security level https://www.postgresql.org/docs/current/libpq-ssl.html#LIBPQ-SSL-SSLMODE-STATEMENTS
'sslrootcert' => env('DB_JOBS_SSLROOTCERT', 'config/ssl/ca.crt'),
'sslcert' => env('DB_JOBS_SSLCERT', 'config/ssl/client.crt'),
'sslkey' => env('DB_JOBS_SSLKEY', 'config/ssl/client.key'),
],
],
/*