Skip to content

181192/P033-NodeRed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-RED docker-compose setup

Includes:

  • Node-RED
  • PostgresSQL
  • Adminer
  • InfluxDB
  • Grafana

List of plugins:

  • node-red-node-smooth
  • node-red-contrib-iot-virtual-device
  • node-red-dashboard
  • node-red-contrib-moment
  • node-red-contrib-string
  • node-red-contrib-nbrowser
  • node-red-contrib-telegrambot
  • node-red-node-pushbullet
  • node-red-contrib-sqldbs
  • node-red-node-sqlite

How to run

docker-compose up

Node-RED accessable at http://localhost:1880, Adminer at http://localhost:8080 and Grafana at http://localhost:3000.

Or to run in detach mode

docker-compose up -d

Attach to logs

docker-compose logs -tf

Shutdown

docker-compose down

Enviroments variables

There are three files for enviroments variables:

  • .env
  • env.grafana
  • env.influxdb

Show health check

$ docker-compose ps

          Name                         Command                       State                   Ports
-----------------------------------------------------------------------------------------------------------
noderedvirtual_adminer_1    entrypoint.sh docker-php-e ...   Up (health: starting)   0.0.0.0:8080->8080/tcp
noderedvirtual_db_1         docker-entrypoint.sh postgres    Up (healthy)            5432/tcp
noderedvirtual_grafana_1    /run.sh                          Up (healthy)            0.0.0.0:3000->3000/tcp
noderedvirtual_influxdb_1   /entrypoint.sh influxd           Up (healthy)            8086/tcp
noderedvirtual_nodered_1    npm start -- --userDir /data     Up (health: starting)   0.0.0.0:1880->1880/tcp

Run only the Node-RED custom image

First build the image

docker build -t nodered_dat159:v1 .

Then run it, see node-red-docker repo on docker hub for more info on parameters

docker run -it -p 1880:1880 -v ~/.node-red:/data --name nodered_dat159 nodered_dat159:v1

Releases

No releases published

Packages

No packages published