File: /var/www/vhost/disk-apps/agile-selling-wpb/config/database.php
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections below you wish
| to use as your default connection for all database work. Of course
| you may use many connections at once using the Database library.
|
*/
'default' => env('DB_DEFAULT', 'miami-db'),
/*
|--------------------------------------------------------------------------
| Database Connections
|--------------------------------------------------------------------------
|
| Here are each of the database connections setup for your application.
| Of course, examples of configuring each database platform that is
| supported by Laravel is shown below to make development simple.
|
|
| All database work in Laravel is done through the PHP PDO facilities
| so make sure you have the driver for your particular database of
| choice installed on your machine before you begin development.
|
*/
'connections' => [
'sqlite' => [
'driver' => 'sqlite',
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'prefix' => '',
],
// IGT Connections BEGIN
'miami-db' => [
'driver' => env('DB_DRIVER_MIAMI', 'mysql'),
'host' => env('DB_HOST_MIAMI', '127.0.0.1'),
'port' => env('DB_PORT_MIAMI', '3306'),
'database' => env('DB_DATABASE_MIAMI', 'forge'),
'username' => env('DB_USERNAME_MIAMI', 'forge'),
'password' => env('DB_PASSWORD_MIAMI', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => true,
'engine' => null,
],
'orlando-db' => [
'driver' => env('DB_DRIVER_ORLANDO', 'mysql'),
'host' => env('DB_HOST_ORLANDO', '127.0.0.1'),
'port' => env('DB_PORT_ORLANDO', '3306'),
'database' => env('DB_DATABASE_ORLANDO', 'forge'),
'username' => env('DB_USERNAME_ORLANDO', 'forge'),
'password' => env('DB_PASSWORD_ORLANDO', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => true,
'engine' => null,
],
'wpb-db' => [
'driver' => env('DB_DRIVER_WPB', 'mysql'),
'host' => env('DB_HOST_WPB', '127.0.0.1'),
'port' => env('DB_PORT_WPB', '3306'),
'database' => env('DB_DATABASE_WPB', 'forge'),
'username' => env('DB_USERNAME_WPB', 'forge'),
'password' => env('DB_PASSWORD_WPB', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => true,
'engine' => null,
],
// IGT Connections END.
'cali-db' => [
'driver' => env('DB_DRIVER_CALI', 'mysql'),
'host' => env('DB_HOST_CALI', '127.0.0.1'),
'port' => env('DB_PORT_CALI', '3306'),
'database' => env('DB_DATABASE_CALI', 'forge'),
'username' => env('DB_USERNAME_CALI', 'forge'),
'password' => env('DB_PASSWORD_CALI', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => true,
'engine' => null,
],
'main-db' => [
'driver' => env('DB_DRIVER_MAIN', 'mysql'),
'host' => env('DB_HOST_MAIN', '127.0.0.1'),
'port' => env('DB_PORT_MAIN', '3306'),
'database' => env('DB_DATABASE_MAIN', 'forge'),
'username' => env('DB_USERNAME_MAIN', 'forge'),
'password' => env('DB_PASSWORD_MAIN', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => true,
'engine' => null,
],
'all-clients-db' => [
'driver' => env('DB_DRIVE_ALL_CLIENTS', 'mysql'),
'host' => env('DB_HOST_ALL_CLIENTS', '127.0.0.1'),
'port' => env('DB_PORT_ALL_CLIENTS', '3306'),
'database' => env('DB_DATABASE_ALL_CLIENTS', 'forge'),
'username' => env('DB_USERNAME_ALL_CLIENTS', 'forge'),
'password' => env('DB_PASSWORD_ALL_CLIENTS', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => true,
'engine' => null,
],
'global-db' => [
'driver' => env('DB_DRIVER_GLOBAL', 'mysql'),
'host' => env('DB_HOST_GLOBAL', '127.0.0.1'),
'port' => env('DB_PORT_GLOBAL', '3306'),
'database' => env('DB_DATABASE_GLOBAL', 'forge'),
'username' => env('DB_USERNAME_GLOBAL', 'forge'),
'password' => env('DB_PASSWORD_GLOBAL', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => true,
'engine' => null,
],
'scraper' => [
'driver' => env('DB_CONNECTION_SCRAPER'),
'host' => env('DB_HOST_SCRAPER'),
'port' => env('DB_PORT_SCRAPER'),
'database' => env('DB_DATABASE_SCRAPER'),
'username' => env('DB_USERNAME_SCRAPER'),
'password' => env('DB_PASSWORD_SCRAPER'),
],
'pgsql' => [
'driver' => 'pgsql',
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '5432'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'prefix' => '',
'schema' => 'public',
'sslmode' => 'prefer',
],
'sqlsrv' => [
'driver' => 'sqlsrv',
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '1433'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'prefix' => '',
],
],
/*
|--------------------------------------------------------------------------
| Migration Repository Table
|--------------------------------------------------------------------------
|
| This table keeps track of all the migrations that have already run for
| your application. Using this information, we can determine which of
| the migrations on disk haven't actually been run in the database.
|
*/
'migrations' => 'migrations',
/*
|--------------------------------------------------------------------------
| Redis Databases
|--------------------------------------------------------------------------
|
| Redis is an open source, fast, and advanced key-value store that also
| provides a richer set of commands than a typical key-value systems
| such as APC or Memcached. Laravel makes it easy to dig right in.
|
*/
'redis' => [
'client' => 'predis',
'default' => [
'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
'database' => 0,
],
],
];