Neo4j

Store connected data and query relationships in a Neo4j graph database.

  • database
  • graph

Guide: Connect to a database from outside

Run it

briq run neo4j

Fields

NameTypeOptionsDefault
imagestring—"neo4j:5"
envrecord{ key: string | { secret, value?, literal?, scope?, hosts?, locations? } }{}
cmdstring | string[]——
sizeenumpico, micro, nano, small, medium, large, xlarge"small"
volumeobject{ gb? }{"gb":2}
filesrecord{ key: string | { base64 } }—
egressobject{ hosts }—

Outputs

Returned by briq_run once the stack is healthy. Hosts resolve inside your team network; secrets are generated per run.

NEO4J_BOLT_URL
bolt://neo4j.<stack>.internal:7687
NEO4J_HTTP_URL
http://neo4j.<stack>.internal:7474
NEO4J_USER
neo4j
NEO4J_PASSWORD
<NEO4J_PASSWORD>

What it runs

BriqImagePortsSizeVolume
neo4jneo4j:57474, 7687small2 GB at /data

When to use it

  • The agent's memory is relationships: which service calls which, which bug hit which customer. A graph answers "what is connected to this?" directly.
  • The agent should write facts in Cypher as it learns them, and query them later.
  • You are prototyping a recommendation, fraud or dependency-graph feature and need a real Bolt endpoint.

Tips

  • Auth is on: user neo4j, password NEO4J_PASSWORD in the outputs.
  • Connect from outside: briq_expose port 7687 with protocol: "bolt" gives a neo4j+s:// address. See Connect to a database from outside.
  • Bolt (NEO4J_BOLT_URL) works with the official drivers, or cypher-shell via briq_exec.
  • Browser for a human: briq_expose port 7474 with mode: "private" (the briq restarts to publish it), and port 7687 with protocol: "bolt". In the Browser, connect to the neo4j+s:// address as neo4j.
  • Bigger graph? The volume starts small: set volume: { gb: 20 }. Set it when the briq is created, and it counts toward your plan's disk.

On this page

Free to try

Try briq, on us.

Every new account starts with €10 of credits. No card.

Start building

How can we help?

Message to the briq team