32 lines
827 B
Markdown
32 lines
827 B
Markdown
|
# Node Red via Docker
|
||
|
|
||
|
A deployment of node red via docker using docker-compose file
|
||
|
|
||
|
## Setup
|
||
|
|
||
|
clone this repo - e.g.
|
||
|
|
||
|
`git clone https://git.kebler.net/IOT/node-red-docker.git /opt/node-red`
|
||
|
|
||
|
cd to directory and run `./start`
|
||
|
|
||
|
will create a directory `./data/<hostname>` with user settings
|
||
|
|
||
|
T add dependencies (outside the ui)
|
||
|
|
||
|
install `./nri @node-red.....`
|
||
|
|
||
|
remove `./nrr @node-red....`
|
||
|
|
||
|
`./term` will give you terminal inside the container
|
||
|
|
||
|
`./recreate` will scrub container and restart
|
||
|
|
||
|
`./stop` will stop container (node-red)
|
||
|
|
||
|
`./restart` will restart container. Necessary after manual install or remove is done. Will also upgrade to latest images.
|
||
|
|
||
|
`./debug-start` will start container but not headless/detached so on can observe any issues with startup.
|
||
|
|
||
|
the `exec` script is not to be called directly.
|