diff --git a/README.md b/README.md index aa25618..4db7429 100644 --- a/README.md +++ b/README.md @@ -104,16 +104,13 @@ The file is stored in the home directory. ### Docker -Run neo4j with Docker: -```bash -docker run \ - --publish=7474:7474 --publish=7687:7687 \ - --volume=$HOME/neo4j/data:/data \ - --volume=$HOME/neo4j/logs:/logs \ - neo4j:3.5 -``` -The user has to be part of the group `docker`. -See . +Run neo4j with Docker: [rundockerneo4j.sh](./scripts/rundockerneo4j.sh) +The user has to be a member of the group `docker`. +It starts a graph database with the Bolt protocol. +The login user is `neo4j` and the password is `test`. + +Documentation: -apoc procedures must be installed manually to the Docker image. -See . +* +* +* apoc procedures must be installed manually to the Docker image: diff --git a/scripts/rundockerneo4j.sh b/scripts/rundockerneo4j.sh new file mode 100644 index 0000000..4ac53ed --- /dev/null +++ b/scripts/rundockerneo4j.sh @@ -0,0 +1,12 @@ +#!/bin/bash +docker run \ + --name testneo4j \ + -p7474:7474 -p7687:7687 \ + --env NEO4J_AUTH=neo4j/test \ + neo4j:latest +# -d \ +# -v $HOME/neo4j/data:/data \ +# -v $HOME/neo4j/logs:/logs \ +# -v $HOME/neo4j/import:/var/lib/neo4j/import \ +# -v $HOME/neo4j/plugins:/plugins \ +# neo4j:latest