Sign inSign up

martindsouza/node-red-oracle

By martindsouza

Updated almost 7 years ago

Node Red with Oracle driver installed

Image
0

321

martindsouza/node-red-oracle repository overview

Node Red Docker image with Oracle NodeJS Drivers

This docker image starts with the base Node-RED Docker image and adds node-oracledb so you can use the Node-RED Oracle Database Node extension.

Prerequisites

Create a location to store the Node RED configuration files:

cd ~/docker
mkdir node-red
Optional: Create Docker Network

I use the Docker Network oracle_network to put all my Oracle Containers on. If you do not have a network then run:

docker network create oracle_network

Run Container

You do not need to maually build the image as the image is available on Docker Hub

docker run -it -d \
  -p 1880:1880 \
  -v ~/docker/node-red:/data \
  --name nodered \
  --network=oracle_network \
  martindsouza/node-red-oracle

You can now access Node RED via http://localhost:1880/

Login to Container

docker exec -it --user root nodered /bin/bash

Build Image

You only need to do this if you want to build the image yourself

# Go to a directory to store this repo
# Ex: cd ~/Documents/Github/martindsouza
git clone https://github.com/martindsouza/docker-node-red-oracle.git
cd docker-node-red-oracle

# Build image
docker build -t node-red-oracle .
Run Container (from local image)

Note: If you do not have the oracle_network setup then remove that line

docker run -it -d \
  -p 1880:1880 \
  -v ~/docker/node-red:/data \
  --name nodered \
  --network=oracle_network \
  node-red-oracle

Tag summary

Content type

Image

Digest

Size

396.6 MB

Last updated

almost 7 years ago

docker pull martindsouza/node-red-oracle