From 6111bc0433bcce748c528034c4200c38be884693 Mon Sep 17 00:00:00 2001 From: Shift Date: Fri, 5 Apr 2024 18:36:47 +0000 Subject: [PATCH] Set new `ENV` variables --- .env.example | 14 +++++++++++++- config/database.php | 2 +- phpunit.xml | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 0ed277fe..0c520afe 100644 --- a/.env.example +++ b/.env.example @@ -1,6 +1,15 @@ APP_ENV=production APP_DEBUG=false APP_URL=http://localhost + +APP_LOCALE=en +APP_FALLBACK_LOCALE=en +APP_FAKER_LOCALE=en_US + +APP_MAINTENANCE_DRIVER=file +APP_MAINTENANCE_STORE=database + +BCRYPT_ROUNDS=12 APP_TIMEZONE=UTC APP_KEY= DEBUGBAR_ENABLED=false @@ -14,7 +23,7 @@ DB_PASSWORD=secret DB_PORT=null DB_PREFIX=null -CACHE_DRIVER=file +CACHE_STORE=file SESSION_DRIVER=file QUEUE_DRIVER=sync @@ -42,3 +51,6 @@ NEXMO_SECRET=null NEXMO_SMS_FROM=Cachet TRUSTED_PROXIES= +LOG_STACK=singleSESSION_ENCRYPT=false +SESSION_PATH=/ +SESSION_DOMAIN=null diff --git a/config/database.php b/config/database.php index 8bbdf703..96e2bbe8 100644 --- a/config/database.php +++ b/config/database.php @@ -16,7 +16,7 @@ return [ 'connections' => [ 'mysql' => [ 'driver' => 'mysql', - 'url' => env('DATABASE_URL'), + 'url' => env('DB_URL'), 'host' => env('DB_HOST', '127.0.0.1'), 'port' => env('DB_PORT', '3306'), 'database' => env('DB_DATABASE', 'forge'), diff --git a/phpunit.xml b/phpunit.xml index bc86714b..5ea1aafe 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -20,7 +20,7 @@ - +