Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Rust

The falkordb crate is the client library.

services:
  falkordb:
    image: falkordb/falkordb:latest
    container_name: falkordb-for-rust
    ports:
      - "6379:6379"
      - "3000:3000"
    volumes:
      - ./data:/var/lib/falkordb/data
    restart: unless-stopped
  client:
    image: szabgab/rust:latest
    container_name: falkor-client-for-rust
    depends_on:
      - falkordb
    stdin_open: true
    user: ubuntu
    tty: true
    working_dir: /opt
    volumes:
      - .:/opt
      - $HOME/.copilot/:/home/ubuntu/.copilot
      - $HOME/.gemini/:/home/ubuntu/.gemini
cd examples/rust
docker compose up

We can now visit the FalkorDB web UI via http://localhost:3000/

Start a client session from which we can access the server called falkrodb.

docker compose exec client bash