Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.29 KB

README.md

File metadata and controls

37 lines (22 loc) · 1.29 KB

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

  1. Create and start the container:

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

  2. 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