Added db port config to .env - closes #1393
This commit is contained in:
@@ -8,6 +8,7 @@ DB_HOST=localhost
|
|||||||
DB_DATABASE=cachet
|
DB_DATABASE=cachet
|
||||||
DB_USERNAME=homestead
|
DB_USERNAME=homestead
|
||||||
DB_PASSWORD=secret
|
DB_PASSWORD=secret
|
||||||
|
DB_PORT=null
|
||||||
|
|
||||||
CACHE_DRIVER=file
|
CACHE_DRIVER=file
|
||||||
SESSION_DRIVER=file
|
SESSION_DRIVER=file
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ return [
|
|||||||
'database' => env('DB_DATABASE', null),
|
'database' => env('DB_DATABASE', null),
|
||||||
'username' => env('DB_USERNAME', null),
|
'username' => env('DB_USERNAME', null),
|
||||||
'password' => env('DB_PASSWORD', null),
|
'password' => env('DB_PASSWORD', null),
|
||||||
|
'port' => env('DB_PORT', null),
|
||||||
'charset' => 'utf8',
|
'charset' => 'utf8',
|
||||||
'collation' => 'utf8_unicode_ci',
|
'collation' => 'utf8_unicode_ci',
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
@@ -74,23 +75,25 @@ return [
|
|||||||
],
|
],
|
||||||
|
|
||||||
'pgsql' => [
|
'pgsql' => [
|
||||||
'driver' => 'pgsql',
|
'driver' => 'pgsql',
|
||||||
'host' => env('DB_HOST', null),
|
'host' => env('DB_HOST', null),
|
||||||
'database' => env('DB_DATABASE', null),
|
'database' => env('DB_DATABASE', null),
|
||||||
'username' => env('DB_USERNAME', null),
|
'username' => env('DB_USERNAME', null),
|
||||||
'password' => env('DB_PASSWORD', null),
|
'password' => env('DB_PASSWORD', null),
|
||||||
'charset' => 'utf8',
|
'port' => env('DB_PORT', null),
|
||||||
'prefix' => '',
|
'charset' => 'utf8',
|
||||||
'schema' => 'public',
|
'prefix' => '',
|
||||||
|
'schema' => 'public',
|
||||||
],
|
],
|
||||||
|
|
||||||
'sqlsrv' => [
|
'sqlsrv' => [
|
||||||
'driver' => 'sqlsrv',
|
'driver' => 'sqlsrv',
|
||||||
'host' => env('DB_HOST', null),
|
'host' => env('DB_HOST', null),
|
||||||
'database' => env('DB_DATABASE', null),
|
'database' => env('DB_DATABASE', null),
|
||||||
'username' => env('DB_USERNAME', null),
|
'username' => env('DB_USERNAME', null),
|
||||||
'password' => env('DB_PASSWORD', null),
|
'password' => env('DB_PASSWORD', null),
|
||||||
'prefix' => '',
|
'port' => env('DB_PORT', null),
|
||||||
|
'prefix' => '',
|
||||||
],
|
],
|
||||||
|
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user