Giter Club home page Giter Club logo

docker-neo4j's Introduction

Docker image for Neo4j Graph Database

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.

Configuration

  1. Clone the repo git clone https://github.com/mirkods/docker-neo4j.git
  2. Substitute in the Dockerfile the {{INSERT_HERE}} tag with your username and password to create secure access on neo4j

Setup

  1. Build your Docker image cd docker-neo4j && docker build -t neo4j .

  2. Create a data container docker create -v /data --name neo4j_data ubuntu

  3. Execute this command: docker run -d -i -p 7474:7474 --volumes-from neo4j_data --name neo4j neo4j

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

Start a stopped docker container

To retrieve the container id: docker ps -a

To start a stopped container: docker start|stop <containerId>

Data container

You can also use a data container

  1. Create data container
	docker run -d -v /var/lib/neo4j/data --name neo4j_data ubuntu echo Neo4j data
  1. Create a neo4j container and attach the data container to itself
	docker run -d -i -p 7474:7474 --volumes-from neo4j_data --name neo4j neo4j

3.Backup from data contenier

	docker run --volumes-from neo4j_data -v $(pwd):/backup ubuntu tar cvf /backup/backup.tar /var/lib/neo4j/data/

docker-neo4j's People

Contributors

claudiopetrini avatar mirkods avatar oskarhane avatar tpires avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

claudiopetrini

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.