Skip to content
/ nodejs-griddb-arm Public template

Sample code to use griddb database on docker (MacBook M-series)

Notifications You must be signed in to change notification settings

junwatu/nodejs-griddb-arm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js + GridDB Docker on Apple Silicon

Make sure to check out this blog for instructions on how to install GridDB using Docker on ARM machines.

Get Start

Clone this repository:

git clone https://github.com/junwatu/nodejs-griddb-arm.git

This app is a sample on how to connect to GridDB database.

Build the Sample App

Build the sample app with docker:

docker build -t node-griddb-arm .

Running the GridDB server

Create .env file in the project folder with this content:

GRIDDB_CLUSTER_NAME=myCluster
GRIDDB_PASSWORD=admin
NOTIFICATION_MEMBER=1
CONTAINER_NAME=griddb-server
NETWORK_NAME=griddb-net
IMAGE_NAME=griddbnet/griddb:arm-5.5.0

Start the GridDB Server:

./start-griddb.sh

Running the Sample App

docker run --name nodejs-griddb-demo \        
    --network griddb-net \
    --env-file .env \
    -p 3000:3000 node-griddb-arm

About

Sample code to use griddb database on docker (MacBook M-series)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published