From 59f9b1a9579b2f3ba60da0c023077f876056d7be Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Wed, 3 Dec 2025 15:39:04 +0100 Subject: [PATCH] chore(config): configure v5 postgres DB --- config/database.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/database.php b/config/database.php index f61ab439e..3ed2a69ba 100644 --- a/config/database.php +++ b/config/database.php @@ -17,7 +17,7 @@ return [ | */ - 'default' => env('DB_CONNECTION', 'sqlite'), + 'default' => env('DB_CONNECTION', 'pgsql'), /* |-------------------------------------------------------------------------- @@ -48,11 +48,11 @@ return [ 'pgsql' => [ 'driver' => 'pgsql', 'url' => env('DB_URL'), - 'host' => env('DB_HOST', '127.0.0.1'), + 'host' => env('DB_HOST', 'coolify-db'), 'port' => env('DB_PORT', '5432'), - 'database' => env('DB_DATABASE', 'laravel'), - 'username' => env('DB_USERNAME', 'root'), - 'password' => env('DB_PASSWORD', ''), + 'database' => env('DB_DATABASE', 'coolify'), + 'username' => env('DB_USERNAME'), + 'password' => env('DB_PASSWORD'), 'charset' => env('DB_CHARSET', 'utf8'), 'prefix' => '', 'prefix_indexes' => true,