From a7a8b3caae44f29a3158db777942a1f430c81ddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kowalik?= Date: Mon, 4 Mar 2024 00:07:20 +0100 Subject: [PATCH] fixed neo4j local config --- .env.example | 5 +++++ README.md | 3 +++ neo4j.conf | 2 ++ 3 files changed, 10 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..ef75624 --- /dev/null +++ b/.env.example @@ -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 diff --git a/README.md b/README.md index 898c1c9..77456e7 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/neo4j.conf b/neo4j.conf index 7bc0a77..581476f 100644 --- a/neo4j.conf +++ b/neo4j.conf @@ -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