Skip to content

Commit 1e5924a

Browse files
authored
Fix passing cli args to Node-RED (#349)
The new entrypoint introduced #324 does not forward arguments to Node-RED. (which is a breaking change from 3.0.0) With this change the old behavior is restored and one can override settings via the docker command again.
1 parent 2ad7e7b commit 1e5924a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-custom/scripts/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function stop() {
77
wait $CHILD_PID
88
}
99

10-
/usr/local/bin/node $NODE_OPTIONS node_modules/node-red/red.js --userDir /data $FLOWS &
10+
/usr/local/bin/node $NODE_OPTIONS node_modules/node-red/red.js --userDir /data $FLOWS "${@}" &
1111

1212
CHILD_PID="$!"
1313

0 commit comments

Comments
 (0)