You've already forked Php-Template
chore/dev-env (#6)
All checks were successful
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 1m55s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 1m56s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 2m10s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 1m56s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 2m45s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 53s
All checks were successful
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 1m55s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 1m56s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 2m10s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 1m56s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 2m45s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 53s
Reviewed-on: #6 Co-authored-by: Ron Rise <ron@siteworxpro.com> Co-committed-by: Ron Rise <ron@siteworxpro.com>
This commit was merged in pull request #6.
This commit is contained in:
13
config.php
13
config.php
@@ -8,7 +8,7 @@ return [
|
||||
* The server configuration.
|
||||
*/
|
||||
'server' => [
|
||||
'port' => Env::get('HTTP_PORT', 9501, 'int'),
|
||||
'port' => Env::get('HTTP_PORT', 9501, 'int'),
|
||||
'dev_mode' => Env::get('DEV_MODE', false, 'bool'),
|
||||
],
|
||||
|
||||
@@ -21,9 +21,15 @@ return [
|
||||
'database' => Env::get('DB_DATABASE', 'siteworxpro'),
|
||||
'username' => Env::get('DB_USERNAME', 'siteworxpro'),
|
||||
'password' => Env::get('DB_PASSWORD', 'password'),
|
||||
'port' => Env::get('DB_PORT', 5432, 'int'),
|
||||
'charset' => Env::get('DB_CHARSET', 'utf8'),
|
||||
'collation' => Env::get('DB_COLLATION', 'utf8_unicode_ci'),
|
||||
'prefix' => Env::get('DB_PREFIX', ''),
|
||||
'options' => [
|
||||
// Add any additional PDO options here
|
||||
],
|
||||
],
|
||||
|
||||
|
||||
'cors' => [
|
||||
'allowed_origins' => Env::get('CORS_ALLOWED_ORIGINS', 'localhost:3000'),
|
||||
'allow_credentials' => Env::get('CORS_ALLOW_CREDENTIALS', true, 'bool'),
|
||||
@@ -34,5 +40,6 @@ return [
|
||||
'host' => Env::get('REDIS_HOST', 'localhost'),
|
||||
'port' => Env::get('REDIS_PORT', 6379, 'int'),
|
||||
'database' => Env::get('REDIS_DATABASE', 0, 'int'),
|
||||
'password' => Env::get('REDIS_PASSWORD'),
|
||||
]
|
||||
];
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user