diff --git a/app/views/install/compose.phtml b/app/views/install/compose.phtml
index d07949ba6e..84916b612e 100644
--- a/app/views/install/compose.phtml
+++ b/app/views/install/compose.phtml
@@ -12,7 +12,7 @@ $version = $this->getParam('version', '');
$organization = $this->getParam('organization', '');
$image = $this->getParam('image', '');
$dbService = $this->getParam('database');
-$hostPath = $this->getParam('hostPath', '');
+$hostPath = rtrim($this->getParam('hostPath', ''), '/');
?>services:
traefik:
@@ -956,7 +956,11 @@ $hostPath = $this->getParam('hostPath', '');
volumes:
- appwrite-mongodb:/data/db:rw
- appwrite-mongodb-config:/data/configdb:rw
+
+ - /mongo-entrypoint.sh:/mongo-entrypoint.sh:ro
+
- ./mongo-entrypoint.sh:/mongo-entrypoint.sh:ro
+
ports:
- "27017:27017"
environment: