4 modules: persistent data is a directory bind, never a named volume #54

Merged
jschoubben merged 1 commits from fix/persistent-data-is-a-directory-bind-not-a-volume into main 2026-09-24 14:24:15 +00:00
4 changed files with 35 additions and 5 deletions
+7 -1
View File
@@ -42,6 +42,12 @@
"path": "/var/lib/mesh/registry",
"mode": "0700"
},
{
"id": "registry-data",
"type": "directory",
"path": "/var/lib/mesh-registry",
"mode": "0700"
},
{
"id": "store",
"type": "container",
@@ -51,7 +57,7 @@
"5000:5000"
],
"volumes": [
"mesh-registry-data:/var/lib/registry"
"/var/lib/mesh-registry:/var/lib/registry"
]
}
]
+14 -2
View File
@@ -75,6 +75,18 @@
"path": "/var/lib/lavinmq-module/grants",
"mode": "0700"
},
{
"id": "broker-data",
"type": "directory",
"path": "/var/lib/mesh-broker",
"mode": "0700"
},
{
"id": "broker-tls",
"type": "directory",
"path": "/var/lib/mesh-broker-tls",
"mode": "0700"
},
{
"id": "server",
"type": "container",
@@ -86,8 +98,8 @@
"127.0.0.1:15672:15672"
],
"volumes": [
"mesh-broker-data:/var/lib/lavinmq",
"mesh-broker-tls:/tls:ro"
"/var/lib/mesh-broker:/var/lib/lavinmq",
"/var/lib/mesh-broker-tls:/tls:ro"
],
"args": [
"--amqps-port=5671",
+7 -1
View File
@@ -69,6 +69,12 @@
"path": "/var/lib/postgres/grants",
"mode": "0700"
},
{
"id": "store-data",
"type": "directory",
"path": "/var/lib/mesh-store",
"mode": "0700"
},
{
"id": "server",
"type": "container",
@@ -82,7 +88,7 @@
"5432:5432"
],
"volumes": [
"mesh-store-data:/var/lib/postgresql/data",
"/var/lib/mesh-store:/var/lib/postgresql/data",
"/var/lib/postgres/superuser.secret:/run/secrets/superuser:ro"
]
},
+7 -1
View File
@@ -29,6 +29,12 @@
"path": "/var/lib/searxng-module",
"mode": "0700"
},
{
"id": "valkey-data",
"type": "directory",
"path": "/var/lib/searxng-module/valkey-data",
"mode": "0700"
},
{
"id": "server-env",
"type": "file",
@@ -56,7 +62,7 @@
"warning"
],
"volumes": [
"searxng-valkey-data:/data"
"/var/lib/searxng-module/valkey-data:/data"
]
},
{