Make sure to check out this blog for instructions on how to install GridDB using Docker on ARM machines.
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 with docker:
docker build -t node-griddb-arm .
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
docker run --name nodejs-griddb-demo \
--network griddb-net \
--env-file .env \
-p 3000:3000 node-griddb-arm