All Templates / Storage
Neo4j GraphDB
Deploy a fully managed Neo4j instance on Railway with ease.
neo4j
sukrutnrvd/neo4j-template
Just deployed
This template allows you to easily deploy and manage a Neo4j instance on Railway.
Bulk Insert Support
You can bulk insert data using environment variables:
RELATION_CSV_URLS
or NODE_CSV_URLS
Automatic TCP Address
neo4j://your-tcp-address-from-railway
Auto-Generated Password
Logging Enabled by Default
import neo4j from 'neo4j-driver';
const host = configService.get('NEO4J_HOST'); // neo4j://your-tcp-address-from-railway
const username = configService.get('NEO4J_USERNAME'); // This must be neo4j
const password = configService.get('NEO4J_PASSWORD');
const driver = neo4j.driver(host, neo4j.auth.basic(username, password));
const result = await driver.executeQuery('MATCH (n) RETURN n');
console.log(result);
from neo4j import GraphDatabase
uri = "neo4j://your-tcp-address-from-railway"
username = "neo4j"
password = "your-password"
driver = GraphDatabase.driver(uri, auth=(username, password))
with driver.session() as session:
result = session.run("MATCH (n) RETURN n")
for record in result:
print(record)
import org.neo4j.driver.*;
public class Neo4jExample {
public static void main(String[] args) {
String uri = "neo4j://your-tcp-address-from-railway";
String user = "neo4j";
String password = "your-password";
try (Driver driver = GraphDatabase.driver(uri, AuthTokens.basic(user, password));
Session session = driver.session()) {
Result result = session.run("MATCH (n) RETURN n");
while (result.hasNext()) {
System.out.println(result.next().asMap());
}
}
}
}
Template Content
Details
Şükrü's Projects
Created on Mar 9, 2025
24 total projects
7 active projects
70% success on recent deploys
Dockerfile
Storage
More templates in this category
Flare
A modern, lightning-fast file sharing platform built for self-hosting
FlintSH's Projects
20
EdgeDB
EdgeDB template based on their Docker deployment guide
Ajit Krishna's Projects
41