From 282b3c74ecfeb39211c3b3bb803c4e888bc224c1 Mon Sep 17 00:00:00 2001 From: Darshan Date: Wed, 4 Feb 2026 15:49:05 +0530 Subject: [PATCH] fix: local install path. --- app/views/install/compose.phtml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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: