Commit 9fc55e84 authored by TGM's avatar TGM

Added DB_PORT as a default enviroment variable

parent fc123376
...@@ -4,6 +4,7 @@ APP_KEY=SomeRandomString ...@@ -4,6 +4,7 @@ APP_KEY=SomeRandomString
APP_URL=http://localhost APP_URL=http://localhost
DB_HOST=127.0.0.1 DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead DB_DATABASE=homestead
DB_USERNAME=homestead DB_USERNAME=homestead
DB_PASSWORD=secret DB_PASSWORD=secret
......
...@@ -55,6 +55,7 @@ return [ ...@@ -55,6 +55,7 @@ return [
'mysql' => [ 'mysql' => [
'driver' => 'mysql', 'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'), 'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'forge'), 'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'), 'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''), 'password' => env('DB_PASSWORD', ''),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment