Skip to content

Instantly share code, notes, and snippets.

@bradtumy
Last active September 5, 2020 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradtumy/7bd310c84a66039cd4499315abe7e1b3 to your computer and use it in GitHub Desktop.
Save bradtumy/7bd310c84a66039cd4499315abe7e1b3 to your computer and use it in GitHub Desktop.
docker run neo4j
## first start
docker run \
--name testneo4j \
-p7474:7474 -p7687:7687 \
-d \
-v $HOME/neo4j/data:/data \
-v $HOME/neo4j/logs:/logs \
-v $HOME/neo4j/import:/var/lib/neo4j/import \
-v $HOME/neo4j/plugins:/plugins \
--env NEO4J_AUTH=neo4j/test \
neo4j:latest
## restart
docker start testneo4j
## stop
docker stop testneo4j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment