nodered: mount its settings where the image's health check reads them

The image's /healthcheck.js requires /data/settings.js, so with the mesh's
settings mounted at /config the container ran fine but reported unhealthy
forever. Mount the same file at /data/settings.js and point --settings there.
This commit is contained in:
2026-09-30 18:28:05 +02:00
parent cbf9e9b7a3
commit 82686e44f3
+2 -2
View File
@@ -75,11 +75,11 @@
], ],
"args": [ "args": [
"--settings", "--settings",
"/config/settings.js" "/data/settings.js"
], ],
"volumes": [ "volumes": [
"${dir:data}:/data", "${dir:data}:/data",
"${dir:state}/settings.js:/config/settings.js:ro", "${dir:state}/settings.js:/data/settings.js:ro",
"${dir:state}/settings.json:/config/settings.json:ro" "${dir:state}/settings.json:/config/settings.json:ro"
], ],
"restart-on": [ "restart-on": [