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.
Create a location to store the Node RED configuration files:
cd ~/docker
mkdir node-red
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
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/
docker exec -it --user root nodered /bin/bash
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 .
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