Skip to content
Snippets Groups Projects
Commit 08aca00a authored by ThePurpleOne's avatar ThePurpleOne
Browse files

Added image resizing in flow

parent 026e3ee2
Branches
No related tags found
1 merge request!3added server into master
FROM nodered/node-red
USER root
RUN apk add --no-cache imagemagick && \
chmod -R 777 /data
USER node-red
\ No newline at end of file
......@@ -13,12 +13,13 @@ services:
- ./mosquitto/log:/mosquitto/log
nodered:
image: nodered/node-red
build:
context: .
dockerfile: Dockerfile.nodered
restart: always
ports:
- 1880:1880
volumes:
- ./nodered/data:/data
depends_on:
- mosquitto
command: bash -c "npm install --save red-contrib-image-tools && npm start"
\ No newline at end of file
- mosquitto
\ No newline at end of file
src/server/nodered/data/current_image.png

887 B

File added
This diff is collapsed.
src/server/nodered/data/graham.png

1.14 KiB

# This documents how to run the server
# This documents how to run the server on a Raspberry PI (3B)
## Install raspbian on the PI
We need to install a linux on the PI.
Download the Raspberry PI Imager on [https://www.raspberrypi.com/software/](https://www.raspberrypi.com/software/)
or on Ubuntu with :
```bash
sudo apt-install rpi-imager
```
https://docs.docker.com/engine/install/raspbian/
## Install and run
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment