expnaded sample env
This commit is contained in:
@@ -70,6 +70,26 @@ class Database extends Config
|
||||
'port' => 5432,
|
||||
];
|
||||
|
||||
public $myfit = [
|
||||
'DSN' => '',
|
||||
'hostname' => '10.20.30.60',
|
||||
'username' => 'myfit',
|
||||
'password' => 'myfit',
|
||||
'database' => 'myfit_dev',
|
||||
'DBDriver' => 'postgre',
|
||||
'DBPrefix' => '',
|
||||
'pConnect' => false,
|
||||
'DBDebug' => (ENVIRONMENT !== 'production'),
|
||||
'charset' => 'utf8',
|
||||
'DBCollat' => 'utf8_general_ci',
|
||||
'swapPre' => '',
|
||||
'encrypt' => false,
|
||||
'compress' => false,
|
||||
'strictOn' => false,
|
||||
'failover' => [],
|
||||
'port' => 5432,
|
||||
];
|
||||
|
||||
public $mermsemr_blog = [
|
||||
'DSN' => '',
|
||||
'hostname' => '10.10.33.60',
|
||||
@@ -147,5 +167,9 @@ class Database extends Config
|
||||
if (ENVIRONMENT === 'testing') {
|
||||
$this->defaultGroup = 'tests';
|
||||
}
|
||||
$this->myfit['hostname'] = getenv('MYFIT_DATABASE_HOSTNAME');
|
||||
$this->myfit['username'] = getenv('MYFIT_DATABASE_USERNAME');
|
||||
$this->myfit['password'] = getenv('MYFIT_DATABASE_PASSWORD');
|
||||
$this->myfit['database'] = getenv('MYFIT_DATABASE');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user