diff --git a/app/views/install/compose.phtml b/app/views/install/compose.phtml
index 2326d59d01..c9aed5db54 100644
--- a/app/views/install/compose.phtml
+++ b/app/views/install/compose.phtml
@@ -67,6 +67,9 @@ $hostPath = rtrim($this->getParam('hostPath', ''), '/');
- traefik.http.routers.appwrite_api_https.service=appwrite_api
- traefik.http.routers.appwrite_api_https.tls=true
volumes:
+
+ - :/usr/src/code:rw
+
- appwrite-uploads:/storage/uploads:rw
- appwrite-imports:/storage/imports:rw
- appwrite-cache:/storage/cache:rw
diff --git a/src/Appwrite/Platform/Tasks/Install.php b/src/Appwrite/Platform/Tasks/Install.php
index 70d7964067..cdc5b7c3f7 100644
--- a/src/Appwrite/Platform/Tasks/Install.php
+++ b/src/Appwrite/Platform/Tasks/Install.php
@@ -496,7 +496,7 @@ class Install extends Action
$database = $input['_APP_DB_ADAPTER'] ?? 'mongodb';
$version = $isLocalInstall
- ? 'latest'
+ ? 'local'
: (defined('APP_VERSION_STABLE') ? APP_VERSION_STABLE : 'latest');
$assistantKey = (string) ($input['_APP_ASSISTANT_OPENAI_API_KEY'] ?? '');
@@ -509,7 +509,8 @@ class Install extends Action
->setParam('organization', $organization)
->setParam('image', $image)
->setParam('database', $database)
- ->setParam('enableAssistant', $enableAssistant);
+ ->setParam('enableAssistant', $enableAssistant)
+ ->setParam('hostPath', $this->hostPath);
$templateForEnv->setParam('vars', $input);