fix: local install path.

This commit is contained in:
Darshan
2026-02-04 15:49:05 +05:30
parent 180276bd9d
commit 282b3c74ec
+5 -1
View File
@@ -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
<?php if ($version === 'local' && !empty($hostPath)): ?>
- <?php echo $hostPath; ?>/mongo-entrypoint.sh:/mongo-entrypoint.sh:ro
<?php else: ?>
- ./mongo-entrypoint.sh:/mongo-entrypoint.sh:ro
<?php endif; ?>
ports:
- "27017:27017"
environment: