Falkordb Server Docker Image
FalkorDB Server Docker镜像提供轻量级的FalkorDB属性图数据库服务器,适用于生产部署、CI/CD环境等场景,仅包含数据库引擎,不集成Browser UI,优化存储和性能。
This is the proposed README content for the falkordb/falkordb-server Docker Hub page.
This version is optimized for production and server environments as it only contains the FalkorDB engine, resulting in a lighter-weight image compared to the full falkordb/falkordb image, which includes the FalkorDB Browser UI.
FalkorDB Server Docker Image (falkordb/falkordb-server) 💾
This image provides the FalkorDB Property Graph Database server only. It is a lightweight container suitable for production deployments, CI/CD environments, or scenarios where the database engine is required without the integrated FalkorDB Browser UI.
About FalkorDB
Our objective is to create an outstanding Knowledge Graph specifically for Large Language Models (LLM) that boasts exceptionally low latency, ensuring swift delivery of information through our Graph Database, known as KG-RAG.
FalkorDB is the first queryable Property Graph database to use sparse matrices to represent the adjacency matrix in graphs and linear algebra to query the graph.
Primary Features
- Adopting the Property Graph Model: Supports Nodes (vertices) and Relationships (edges) that may have attributes. Nodes can have multiple labels, and relationships have a relationship type.
- Sparse Matrix Representation: Graphs are represented as sparse adjacency matrices, optimizing storage and performance.
- Linear Algebra Querying: Queries are translated into linear algebra expressions for enhanced computational efficiency.
- OpenCypher Support: Compatible with the OpenCypher query language, including proprietary extensions.
Quickstart (Server Only)
To quickly try out the FalkorDB server, launch an instance using Docker. This command exposes the database on the standard Redis port, 6379.
bashdocker run -p 6379:6379 -it --rm falkordb/falkordb-server:latest
Recommended Usage with Persistent Data
For persistent data storage, map a local volume to the container's data path (/var/lib/falkordb/data):
bashdocker run -p 6379:6379 -it --rm -v ./data:/var/lib/falkordb/data falkordb/falkordb-server:latest
Interacting with the Server
Once running, you can connect to FalkorDB on port 6379 using redis-cli or any of the supported client libraries.
Example using redis-cli:
- Connect to the running instance:
bash
redis-cli - Run a sample query using the
GRAPH.QUERYcommand:127.0.0.1:6379> GRAPH.QUERY social "CREATE (:person {name:'roi', age:33, gender:'male', status:'married'})"
Example using a Python client:
FalkorDB supports interactions through raw Redis commands.
pythonimport redis r = redis.StrictRedis(host='localhost', port=6379) reply = r.execute_command('GRAPH.QUERY', 'social', "CREATE (:person {name:'roi', age:33})") print(reply)
Documentation & Support
- Documentation: For comprehensive information on installation, features, and the query language, visit the official FalkorDB Documentation.
- Source Code: Check out the source code and contribute on https://github.com/FalkorDB/FalkorDB.
- FalkorDB Browser: If you require a visualization tool, you can run the https://hub.docker.com/r/falkordb/falkordb-browser separately and configure it to connect to this server instance.
- License: This project is licensed under the Server Side Public License v1 (SSPLv1).
falkordb 命名空间的其他可用镜像:
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
轩辕镜像加速拉取命令点我查看更多 falkordb-server 镜像标签
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务