docker中使用neo4j

运行命令

docker run \
    --name neo4j \
    -p7474:7474 -p7687:7687 \
    -d \
    -v /etc/localtime:/etc/localtime \
    -v /data/neo4j/data:/var/lib/neo4j/data \
    -v /data/neo4j/logs:/var/lib/neo4j/logs \
    -v /data/neo4j/import:/var/lib/neo4j/import \
    -v /data/neo4j/plugins:/var/lib/neo4j/plugins \
    -v /data/neo4j/conf:/var/lib/neo4j/conf \
    --env NEO4J_AUTH=neo4j/test \
    --env=NEO4J_dbms_memory_pagecache_size=280G   \
       --env=NEO4J_dbms_memory_heap_initial__size=31G \
   --env=NEO4J_dbms_memory_heap_max__size=31G            \
   --env=NEO4J_dbms_tx__log_rotation_retention__policy=false          \
   --env=NEO4J_dbms_directories=/var/lib/neo4j  \
   --env=NEO4J_dbms_directories_logs=/var/lib/neo4j/logs \
   neo4j:3.4.0```

你可能感兴趣的:(Neo4j)