You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
03 Oct 12:57:17 - [info] Server now running at http://127.0.0.1:1880/
58
+
10 Jul 12:57:17 - [info] Starting flows
59
+
10 Jul 12:57:17 - [info] Started flows
60
+
10 Jul 12:57:17 - [info] Server now running at http://127.0.0.1:1880/
61
61
62
62
[...]
63
63
@@ -83,6 +83,8 @@ and stop it again when required:
83
83
84
84
$ docker stop mynodered
85
85
86
+
**Healthcheck**: to turn off the Healthcheck add `--no-healthcheck` to the run command.
87
+
86
88
## Image Variations
87
89
The Node-RED images come in different variations and are supported by manifest lists (auto-detect architecture).
88
90
This makes it more easy to deploy in a multi architecture Docker environment. E.g. a Docker Swarm with mix of Raspberry Pi's and amd64 nodes.
@@ -227,6 +229,8 @@ This can either be done using a bind mount or a named data volume.
227
229
228
230
Node-RED uses the `/data` directory inside the container to store user configuration data.
229
231
232
+
Depending on how and where you mount the user data directory you may want to turn off the built in healthcheck function by adding `--no-healthcheck` to the run command.
233
+
230
234
### Using a Host Directory for Persistence (Bind Mount)
231
235
To save your Node-RED user directory inside the container to a host directory outside the container, you can use the
232
236
command below. To allow access to this host directory, the node-red user (default uid=1000) inside the container must
@@ -502,7 +506,7 @@ Let's dissect both commands:
502
506
-p 9229:9229 - connect local port 9229 to the exposed internal port 9229 (for debugger communication)
503
507
--name mynodered - give this machine a friendly local name
504
508
--entrypoint npm - overwrite the default entrypoint (which would run the *'start'* script)
505
-
nodered/node-red - the image to base it on - currently Node-RED v1.0.3
509
+
nodered/node-red - the image to base it on - currently Node-RED v1.1.0
506
510
run debug(_brk) - (npm) arguments for the custom endpoint (which must be added AFTER the image name!)
507
511
-- - the arguments that will follow are not npm arguments, but need to be passed to the script
508
512
--userDir /data - instruct the script where the Node-RED data needs to be stored
0 commit comments