From 5427118614776c521acfa16cdb865e6632307d89 Mon Sep 17 00:00:00 2001 From: jochen Date: Sat, 26 Sep 2026 18:03:25 +0200 Subject: [PATCH] mongodb: its data directory is placed, not stated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The mesh resolves it to /mongodb/data — where the granted databases already sit. The provider's own state, grants and the mesh's plumbing stay stated. --- modules/mongodb/module.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/mongodb/module.json b/modules/mongodb/module.json index a62a7c7..69ffa7f 100644 --- a/modules/mongodb/module.json +++ b/modules/mongodb/module.json @@ -64,7 +64,6 @@ { "id": "data", "type": "directory", - "path": "/var/lib/mongodb/data", "mode": "0700" }, { @@ -86,7 +85,7 @@ "27017" ], "volumes": [ - "/var/lib/mongodb/data:/data/db", + "${dir:data}:/data/db", "/var/lib/mongodb/root.secret:/run/secrets/root:ro" ] },