Neo4j is a highly scalable, robust (fully ACID) native graph database. Neo4j is used in mission-critical apps by thousands of leading, startups, enterprises, and governments around the world.
With the Dockerfile on repository you've a docker neo4j community edition image ready to go.
This project is automatically built and deployed here.
- (Optional) Install the image:
docker pull tpires/neo4j
-
Create and start the container:
docker run -i -t -d --name neo4j --cap-add=SYS_RESOURCE -p 7474:7474 tpires/neo4j
-
Access to http://localhost:7474 with your browser.
You can add authorization credentials or disable authorization by passing NEO4J_AUTH
as environment variable.
-
To set username/password:
docker run -i -t -d -e NEO4J_AUTH=username:password --name neo4j --cap-add=SYS_RESOURCE -p 7474:7474 tpires/neo4j
-
To bypass authentication:
docker run -i -t -d -e NEO4J_AUTH=none --name neo4j --cap-add=SYS_RESOURCE -p 7474:7474 tpires/neo4j
The neo4j data is stored in "/var/lib/neo4j/data".
-
To use a volume to store the database:
docker run -i -t -d --name neo4j --cap-add=SYS_RESOURCE -v /var/lib/neo4j/data -p 7474:7474 tpires/neo4j