treehouses/cli

node-red service

Opened this issue · 1 comments

This is baller. I can connect what ever device and node-red has plugin for it including the Pi camera.
https://nodered.org/
here's the compose
cheers all

version: '3.7'

services:
  node-red:
    image: nodered/node-red
    container_name: node-red
    restart: always
    volumes:
      - ./containers/node-red:/data
      - /etc/localtime:/etc/localtime:ro
    ports:
      - 1880:1880

oh yeah. @dogi . You need to do this to get the local folder to work:

mkdir /home/pi/containers/node-red
chown -R 1000:1000 /home/pi/containers/node-red

Idk what magic to do to get around that. Having the folder is useful if you want to move a music file to it or etc.

Region