cd /news/developer-tools/self-hosting-arangodb-one-database-f… · home topics developer-tools article
[ARTICLE · art-77454] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Self-hosting ArangoDB: one database for graph, document, and vector search

A developer advocates for self-hosting ArangoDB, a multi-model database that natively supports graph, document, and vector search with a single query language (AQL), eliminating the need to duct-tape separate systems like Neo4j, Qdrant, and Postgres. The developer provides a Docker command for deployment and mentions a one-click Railway template, noting that ArangoDB excels in pipelines requiring graph traversal, vector similarity, and document queries together, such as recommendation engines and knowledge-graph RAG.

read2 min views1 publishedJul 28, 2026

Most GraphRAG or knowledge-graph setups I've seen end up as three separate systems duct-taped together: Neo4j (or similar) for the graph, Qdrant or pgvector for embeddings, and Postgres or Mongo for the actual document data. Three query languages, three connection pools, three things to back up and monitor. It works, but it's a lot of moving parts for what's conceptually one data problem.

ArangoDB is a multi-model database that does graph, document, and vector search natively, behind one query language (AQL). Instead of joining across systems in application code, you write one query that touches all three.

A traversal query - "find everything two hops out from this node" - reads like this in AQL:

FOR v, e, p IN 1..2 OUTBOUND 'products/laptop' GRAPH 'store_graph'
  RETURN { vertex: v, path: p }

No separate graph engine, no export/import step to sync it with your document store - the products, the edges, and (if you're doing similarity search over embeddings) the vectors all live in the same collections.

The upstream image is arangodb/arangodb

, official, actively maintained:

docker run -e ARANGO_ROOT_PASSWORD=changeme -p 8529:8529 -v arangodb_data:/var/lib/arangodb3 arangodb:latest

That gets you the web UI and the HTTP/AQL API on port 8529. The volume mount matters - without it your graph disappears on every container restart.

I maintain a one-click Railway template for it if you'd rather not manage the container yourself (auth preconfigured, root password auto-generated, persistent volume already wired up). Full disclosure: I get a kickback if you deploy through it: https://railway.com/deploy/arangodb-graph-database-for-ai?referralCode=Z1xivh&utm_medium=integration&utm_source=template&utm_campaign=devto - but the raw docker run

above is functionally the same image, so there's no capability difference either way.

Where ArangoDB actually earns its keep is when you need graph traversal, vector similarity, and document queries in the same pipeline - recommendation engines, fraud detection graphs, knowledge-graph RAG - and gluing three separate databases together is the thing you're trying to avoid.

Upstream docs: https://www.arangodb.com/docs/ - AQL reference: https://www.arangodb.com/docs/stable/aql/

── more in #developer-tools 4 stories · sorted by recency
── more on @arangodb 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/self-hosting-arangod…] indexed:0 read:2min 2026-07-28 ·