treehouses / cli

cli 🦄 for raspberry pi images of type treehouses
https://www.npmjs.com/package/@treehouses/cli
GNU Affero General Public License v3.0
44 stars 20 forks source link

node-red service #2245

Open LordJashin32 opened 3 years ago

LordJashin32 commented 3 years ago

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
LordJashin32 commented 3 years ago

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