Skip to content

NOW MANAGED ON CODEBERG

Updated database config to be codeship compatible

Dan Brown3385ec3f7859
diff --git a/config/database.php b/config/database.php
index e4d6880c7..832852dc2 100644
--- a/config/database.php
+++ b/config/database.php
@@ -84,8 +84,8 @@ return [
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'bookstack-test',
- 'username' => 'bookstack-test',
- 'password' => 'bookstack-test',
+ 'username' => env('MYSQL_USER', 'bookstack-test'),
+ 'password' => env('MYSQL_PASSWORD', 'bookstack-test'),
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',