From 34d06590369a0c97dc372b350c326ffc336e1975 Mon Sep 17 00:00:00 2001 From: Juan Pablo Vial Date: Mon, 7 Mar 2022 18:26:27 -0300 Subject: [PATCH 1/2] Fix: Was missing db configuration on php --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index d6f865f..7dfaee6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,6 +19,7 @@ services: container_name: php env_file: - .env + - .db.env volumes: - .:/code From 3de1c9b527a10fbd35d524807f172e803ddfced0 Mon Sep 17 00:00:00 2001 From: Juan Pablo Vial Date: Mon, 7 Mar 2022 18:27:44 -0300 Subject: [PATCH 2/2] FIX: Hide password --- config/databases.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/databases.php b/config/databases.php index be9c0d4..660d432 100644 --- a/config/databases.php +++ b/config/databases.php @@ -13,7 +13,7 @@ return [ 'host' => 'localhost', 'database' => 'incoviba3', 'username' => 'incoviba', - 'password' => '5GQYFvRjVw2A4KcD' + 'password' => $_ENV['MYSQL_PASSWORD'] ] ] ?>