Public | Automated Build

Last pushed: 2 years ago
Short Description
Cayley: a graph database by Google
Full Description


A Docker image for Cayley, an open-source graph database inspired by Freebase and Google's Knowledge Graph.

Getting Started

docker run -d -p 64210:64210 saidimu/cayley:v0.4.0

Then open from your browser for the web GUI.

Getting Started with fig

If you have fig installed, clone this repository and execute the following commands:

git clone
cd cayley-docker
fig up -d
fig logs

Then open from your browser for the web GUI.

Attach persistent/shared directories using host-mounted volumes

  1. Create a mountable data directory <data-dir> on the host.

  2. Create a Cayley config file at <data-dir>/cayley.cfg.

     "database": "bolt",
     "db_path": "/data/boltdb",
     "listen_host": ""

    Note that listen_host must be set to for Cayley to be accesible from outside the container.

  1. Start a container by mounting the data directory on the host to /data in the container:

    docker run -d -p 64210:64210 -v <data-dir>:/data saidimu/cayley:v0.4.0

Using fig with data-only containers

fig.yml includes definitions for a data-only container and a volume mounts for a custom_config folder that holds a custom config file you can provide.

Docker Pull Command
Source Repository