Docker neo4j community edition image
Shell
Latest commit 84bed01 Aug 7, 2015 @tpires Fix #5
Based on http://www.techbar.me/stopping-docker-containers-gracefully/.

Signed-off-by: Tiago Pires <tandrepires@gmail.com>

README.md

neo4j

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.

Docker Hub Registry

This project is automatically built and deployed here.

Setup

  1. (Optional) Install the image:

    docker pull tpires/neo4j

  2. Create and start the container:

    docker run -i -t -d --name neo4j --cap-add=SYS_RESOURCE -p 7474:7474 tpires/neo4j

  3. Access to http://localhost:7474 with your browser.

Authentication

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

Volumes

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