Skip to main content

Local Deployment

Run KnowledgeFlowDB locally for development or single-node production.

cargo run -p kfdb -- --storage rocksdb --db-path ./data

Using Docker Compose with ScyllaDB

# Start ScyllaDB
docker-compose up -d

# Connect to it
cargo run -p kfdb -- --storage scylla --scylla-nodes "127.0.0.1:9042"

Persistent Data

Data is stored in ./data by default. Change with --db-path:

cargo run -p kfdb -- --db-path /var/lib/kfdb

Next Steps