Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
update neo4j-driver to 5.2.0
update docker image to neo4j:5.2.0-enterprise
run prettier on all files
  • Loading branch information
Popotojs committed Nov 24, 2022
1 parent c53c946 commit 7be7dbe
Show file tree
Hide file tree
Showing 10 changed files with 1,064 additions and 1,107 deletions.
16 changes: 5 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,19 @@ version: '3.8'

services:
neo4j:
image: neo4j:4.4.11-enterprise
image: neo4j:5.2.0-enterprise
restart: unless-stopped
ports:
- "7474:7474"
- "7687:7687"
volumes:
- ./.neo4j/conf:/conf
- ./.neo4j/data:/data
- ./.neo4j/import:/import
- ./.neo4j/logs:/logs
- ./.neo4j/plugins:/plugins
environment:
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_AUTH=neo4j/test
# Raise memory limits
- NEO4J_dbms_memory_pagecache_size=1G
- NEO4J_dbms.memory.heap.initial_size=1G
- NEO4J_dbms_memory_heap_max__size=1G
- NEO4JLABS_PLUGINS=["apoc"]
- NEO4J_server_memory_pagecache_size=1G
- NEO4J_server.memory.heap.initial_size=1G
- NEO4J_server_memory_heap_max__size=1G
- NEO4J_PLUGINS=["apoc"]
healthcheck:
test: wget http://localhost:7474 || exit 1
interval: 1s
Expand Down
2 changes: 1 addition & 1 deletion lib/constant/neo4j.constants.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const NEO4J_CONFIG: string = 'NEO4J_CONFIG';
export const NEO4J_DRIVER: string = 'NEO4J_DRIVER';
export const NEO4J_DRIVER: string = 'NEO4J_DRIVER';
2 changes: 1 addition & 1 deletion lib/interface/session.option.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export interface SessionOptions {
database?: string;
write?: boolean;
}
}
Loading

0 comments on commit 7be7dbe

Please sign in to comment.