Skip to content

Commit

Permalink
fixed neo4j local config
Browse files Browse the repository at this point in the history
  • Loading branch information
majkel89 committed Mar 3, 2024
1 parent c38114a commit a7a8b3c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
NEO4J_DOCKER_IMAGE=neo4j:5.17
NEO4J_EDITION=docker_compose
EXTENDED_CONF=yes
NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
NEO4J_AUTH=neo4j/your_password
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ chmod 640 neo4j.conf
export USER_ID="$(id -u)"
export GROUP_ID="$(id -g)"
mkdir -p conf/server1 data/server1 import/server1 logs/server1
docker compose up
```

Now you can visit neo4J browser at http://localhost:7474/.

## Requirements

1. Scan common git repositories
Expand Down
2 changes: 2 additions & 0 deletions neo4j.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
server.config.strict_validation.enabled=false

# Setting that specifies how much memory Neo4j is allowed to use for the page cache.
server.memory.pagecache.size=100M

Expand Down

0 comments on commit a7a8b3c

Please sign in to comment.