Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Commit 154079f

Browse files
committed
Add docker information and script #19
1 parent 72bf923 commit 154079f

File tree

2 files changed

+21
-12
lines changed

2 files changed

+21
-12
lines changed

README.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,13 @@ The file is stored in the home directory.
104104

105105
### Docker
106106

107-
Run neo4j with Docker:
108-
```bash
109-
docker run \
110-
--publish=7474:7474 --publish=7687:7687 \
111-
--volume=$HOME/neo4j/data:/data \
112-
--volume=$HOME/neo4j/logs:/logs \
113-
neo4j:3.5
114-
```
115-
The user has to be part of the group `docker`.
116-
See <https://neo4j.com/docs/operations-manual/current/docker/>.
107+
Run neo4j with Docker: [rundockerneo4j.sh](./scripts/rundockerneo4j.sh)
108+
The user has to be a member of the group `docker`.
109+
It starts a graph database with the Bolt protocol.
110+
The login user is `neo4j` and the password is `test`.
111+
112+
Documentation:
117113

118-
apoc procedures must be installed manually to the Docker image.
119-
See <https://github.com/neo4j-contrib/neo4j-apoc-procedures>.
114+
* <https://neo4j.com/developer/docker-run-neo4j/#_neo4j_docker_image>
115+
* <https://neo4j.com/docs/operations-manual/current/docker/>
116+
* apoc procedures must be installed manually to the Docker image: <https://github.com/neo4j-contrib/neo4j-apoc-procedures>

scripts/rundockerneo4j.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
docker run \
3+
--name testneo4j \
4+
-p7474:7474 -p7687:7687 \
5+
--env NEO4J_AUTH=neo4j/test \
6+
neo4j:latest
7+
# -d \
8+
# -v $HOME/neo4j/data:/data \
9+
# -v $HOME/neo4j/logs:/logs \
10+
# -v $HOME/neo4j/import:/var/lib/neo4j/import \
11+
# -v $HOME/neo4j/plugins:/plugins \
12+
# neo4j:latest

0 commit comments

Comments
 (0)