Skip to content

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

  1. Clone the Aerospike Graph repository then navigate to the new directory.

    Terminal window
    git clone https://github.com/aerospike/aerospike-graph.git
    cd aerospike-graph
  2. Start AGS in Docker using the following command:

    Terminal window
    docker compose up -d
    Example response
    Terminal window
    Network asgraph_net Created
    Container aerospike-db Healthy
    Container asgraph-zipkin Healthy
    Container aerospike-graph-service Started

    The Docker Compose script pulls and starts all of the required AGS Docker images. At the root of the aerospike-graph directory, a file named docker-compose.yaml contains the configuration used to create and network the Docker containers.

  3. Confirm Aerospike Graph is running:

    Terminal window
    docker ps
    Example response

    The output should show three running Docker processes, one each for:

    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…"...
Feedback

Was this page helpful?

What type of feedback are you giving?

What would you like us to know?

+Capture screenshot

Can we reach out to you?