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

Commit

Permalink
Add docker information and script #19
Browse files Browse the repository at this point in the history
  • Loading branch information
tdauth committed Apr 17, 2019
1 parent 72bf923 commit 154079f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 12 deletions.
21 changes: 9 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://neo4j.com/docs/operations-manual/current/docker/>.
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 <https://github.com/neo4j-contrib/neo4j-apoc-procedures>.
* <https://neo4j.com/developer/docker-run-neo4j/#_neo4j_docker_image>
* <https://neo4j.com/docs/operations-manual/current/docker/>
* apoc procedures must be installed manually to the Docker image: <https://github.com/neo4j-contrib/neo4j-apoc-procedures>
12 changes: 12 additions & 0 deletions scripts/rundockerneo4j.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 154079f

Please sign in to comment.