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:
@@ -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": [
|
||||||
|
|||||||
Reference in New Issue
Block a user