Deploy FalkorDB
Graph database with Browser UI, password, volume and pinned version
Just deployed
/var/lib/falkordb/data
Deploy and Host FalkorDB on Railway
FalkorDB is an open-source graph database that answers OpenCypher queries over the Redis protocol. It stores graphs as sparse adjacency matrices and queries them with GraphBLAS linear algebra, which keeps multi-hop traversals fast. It is built for knowledge graphs, GraphRAG and long-term memory for AI agents.
About Hosting FalkorDB
This template runs FalkorDB 6.0.4 with the FalkorDB Browser web UI in one service, built from a public GitHub repo that pins the official image by version and digest. A generated password protects the database and the Browser login, and the deploy page asks for nothing. Graph data is saved to a Railway volume as RDB snapshots plus an append-only file, so it survives restarts and redeploys. Apps in the same project connect over the private network with FALKORDB_PRIVATE_URL. Outside clients use the TCP proxy and FALKORDB_PUBLIC_URL. A health check covers the Browser, and version bumps reach you as Railway update notices.
Common Use Cases
- GraphRAG: ground LLM answers in a knowledge graph built from your documents
- Long-term memory for AI agents (Graphiti, Cognee, AutoMem, LangChain and LlamaIndex integrations)
- Recommendations, fraud detection and other multi-hop relationship queries
Dependencies for FalkorDB Hosting
- One service built from
aalfath/falkordb-railway-template(officialfalkordb/falkordb:6.0.4image) - One Railway volume mounted at
/var/lib/falkordb/data
Deployment Dependencies
- FalkorDB on GitHub and its v6.0.4 release
- FalkorDB documentation
- Template repo, README and changelog
Implementation Details
After deploy:
- Open the service's public domain, enter the value of
FALKORDB_PASSWORDfrom the Variables tab (hostlocalhost, port6379and userdefaultare prefilled) and run a Cypher query. - In another service of the same project, add
FALKORDB_URL=${{FalkorDB.FALKORDB_PRIVATE_URL}}and connect with a FalkorDB client, for exampleFalkorDB.from_url(os.environ["FALKORDB_URL"])in Python. - From your machine:
redis-cli -u "YOUR-FALKORDB_PUBLIC_URL" GRAPH.QUERY g "MATCH (n) RETURN count(n)". Remove the TCP proxy in the service settings if you don't need outside access.
Optional: set FALKORDB_ARGS for module settings such as THREAD_COUNT or TIMEOUT, and REDIS_ARGS for extra redis-server flags. If you add a custom domain, update NEXTAUTH_URL. Updates: when the repo bumps the pinned FalkorDB version, Railway shows an update notice on your project. Read the repo's CHANGELOG first, because a major FalkorDB version can change the on-disk format. The data stays on the volume.
Why Deploy FalkorDB on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying FalkorDB on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
