mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Add ability to customize port DB (#655)
* Summary: Add the ability to configure DB ports * Summary: Reorder port * Summary: Added example env for DB_PORT customization Changesets: - Added DB_PORT and explain about customization
This commit is contained in:
parent
a5e3059e89
commit
baa5b7af13
2 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
# sqlsrv (Microsoft SQL Server)
|
||||
DB_CONNECTION=mysql
|
||||
DB_HOST=127.0.0.1
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=koel
|
||||
DB_USERNAME=koel
|
||||
DB_PASSWORD=SoSecureMuchWow
|
||||
|
|
|
@ -48,6 +48,7 @@ return [
|
|||
'mysql' => [
|
||||
'driver' => 'mysql',
|
||||
'host' => env('DB_HOST', 'localhost'),
|
||||
'port' => env('DB_PORT', 3306),
|
||||
'database' => env('DB_DATABASE', 'forge'),
|
||||
'username' => env('DB_USERNAME', 'forge'),
|
||||
'password' => env('DB_PASSWORD', ''),
|
||||
|
@ -60,6 +61,7 @@ return [
|
|||
'pgsql' => [
|
||||
'driver' => 'pgsql',
|
||||
'host' => env('DB_HOST', 'localhost'),
|
||||
'port' => env('DB_PORT', 5432),
|
||||
'database' => env('DB_DATABASE', 'forge'),
|
||||
'username' => env('DB_USERNAME', 'forge'),
|
||||
'password' => env('DB_PASSWORD', ''),
|
||||
|
@ -71,6 +73,7 @@ return [
|
|||
'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', ''),
|
||||
|
|
Loading…
Reference in a new issue