mongodb: its data directory is placed, not stated

The mesh resolves it to <root>/mongodb/data — where the granted
databases already sit. The provider's own state, grants and the mesh's
plumbing stay stated.
This commit is contained in:
2026-09-26 18:03:25 +02:00
parent 53765335cf
commit 5427118614
+1 -2
View File
@@ -64,7 +64,6 @@
{ {
"id": "data", "id": "data",
"type": "directory", "type": "directory",
"path": "/var/lib/mongodb/data",
"mode": "0700" "mode": "0700"
}, },
{ {
@@ -86,7 +85,7 @@
"27017" "27017"
], ],
"volumes": [ "volumes": [
"/var/lib/mongodb/data:/data/db", "${dir:data}:/data/db",
"/var/lib/mongodb/root.secret:/run/secrets/root:ro" "/var/lib/mongodb/root.secret:/run/secrets/root:ro"
] ]
}, },