Skip to content

Commit

Permalink
change comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Oct 22, 2019
1 parent 80aa62f commit 97b5f22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configs/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
]
]);

// database config for
$config->component('db', [
'dsn' => 'mysql:host=localhost;dbname=DB_NAME',
// 'dsn' => 'mysql:host=localhost;dbname=DB_NAME;unix_socket=/Applications/MAMP/tmp/mysql/mysql.sock', // OSX MAMP
Expand All @@ -77,12 +78,11 @@
])->env(Config::ENV_LOCAL);

/*
config for docker:
// docker mysql config
$config->component('db', [
'dsn' => 'mysql:host=luya_db;dbname=luya_kickstarter_101',
'username' => 'luya',
'password' => 'CHANGE_ME',
'charset' => 'utf8',
])->env(Config::ENV_LOCAL);
*/

Expand Down

0 comments on commit 97b5f22

Please sign in to comment.