Graph environment
Using the preconfigured Aerospike Graph GitHub repository, we’ll quickly get up and running with a one-node Aerospike Graph Service (AGS) instance and a one-node Aerospike database cluster.
Set up the Graph environment
-
Clone the Aerospike Graph repository then navigate to the new directory.
Terminal window git clone https://github.com/aerospike/aerospike-graph.gitcd aerospike-graph -
Start AGS in Docker using the following command:
Terminal window docker compose up -dExample response Terminal window ✔ Network asgraph_net Created✔ Container aerospike-db Healthy✔ Container asgraph-zipkin Healthy✔ Container aerospike-graph-service StartedThe Docker Compose script pulls and starts all of the required AGS Docker images. At the root of the
aerospike-graph
directory, a file nameddocker-compose.yaml
contains the configuration used to create and network the Docker containers. -
Confirm Aerospike Graph is running:
Terminal window docker psExample response The output should show three running Docker processes, one each for:
- Aerospike Graph Service
- Zipkin (a query tracing service for graph queries)
- Aerospike Database
Terminal window 9d5b0cfab45f aerospike/aerospike-graph-service:latest "scripts/gremlin-ser…"...6ca1415981fe openzipkin/zipkin "start-zipkin"...248a05d9e903 aerospike/aerospike-server-enterprise:7.1 "/usr/bin/as-tini-st…"...