Skip to content

martindsouza/docker-node-red-oracle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published