Cayley: a graph database by Google https://github.com/google/cayley
1.2K
A Docker image for Cayley, an open-source graph database inspired by Freebase and Google's Knowledge Graph.
docker run -d -p 64210:64210 saidimu/cayley:v0.4.0
Then open http://127.0.0.1:64210 from your browser for the web GUI.
If you have fig installed, clone this repository and execute the following commands:
git clone [email protected]:saidimu/cayley-docker.git
cd cayley-docker
fig up -d
fig logs
Then open http://127.0.0.1:64210 from your browser for the web GUI.
Create a mountable data directory <data-dir> on the host.
Create a Cayley config file at <data-dir>/cayley.cfg.
```json
{
"database": "bolt",
"db_path": "/data/boltdb",
"listen_host": "0.0.0.0"
}
```
Note that `listen_host` must be set to `0.0.0.0` for Cayley to be accesible from outside the container.
3. Start a container by mounting the data directory on the host to /data in the container:
```sh
docker run -d -p 64210:64210 -v <data-dir>:/data saidimu/cayley:v0.4.0
```
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.
Content type
Image
Digest
sha256:e81173c71…
Size
157.9 MB
Last updated
almost 11 years ago
docker pull saidimu/cayley