From a0c974df42600e4fc215760150f4a9dee36e4c1a Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Wed, 21 May 2025 18:13:20 +0530 Subject: [PATCH] updated updating database in the installation --- docker-compose.yml | 1 - src/Appwrite/Platform/Tasks/Install.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 915d5c315e..89a142debe 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -86,7 +86,6 @@ services: - ./public:/usr/src/code/public - ./src:/usr/src/code/src - ./dev:/usr/src/code/dev - - ./.env:/usr/src/code/.env depends_on: - ${_APP_DB_ADAPTER:-mariadb} - redis diff --git a/src/Appwrite/Platform/Tasks/Install.php b/src/Appwrite/Platform/Tasks/Install.php index 387c8dbc56..550c50f4c9 100644 --- a/src/Appwrite/Platform/Tasks/Install.php +++ b/src/Appwrite/Platform/Tasks/Install.php @@ -174,6 +174,7 @@ class Install extends Action } if ($var['name'] === '_APP_DB_ADAPTER' && $data !== false) { + $input[$var['name']] = $database; continue; }