Skip to content

Instantly share code, notes, and snippets.

@thibaut-d
Created November 30, 2019 23:25
Show Gist options
  • Save thibaut-d/85710c81b628f43a39f7659147fbba20 to your computer and use it in GitHub Desktop.
Save thibaut-d/85710c81b628f43a39f7659147fbba20 to your computer and use it in GitHub Desktop.
Neo4j tips
version: '3'
services:
neo4j:
image: neo4j:3.5
restart: unless-stopped
ports:
- 7474:7474
- 7687:7687
volumes:
- ./conf:/conf
- ./data:/data
- ./import:/import
- ./logs:/logs
- ./plugins:/plugins
environment:
# Raise memory limits, default is 512Mb, recommanded for big graphs is 4/8/8Gb.
- NEO4J_dbms_memory_pagecache_size=1G
- NEO4J_dbms.memory.heap.initial_size=1G
- NEO4J_dbms_memory_heap_max__size=1G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment