expnaded sample env

This commit is contained in:
2023-02-25 18:34:20 -05:00
parent b5736e8121
commit b6abcb1586
12 changed files with 536 additions and 47 deletions
+24
View File
@@ -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');
}
}