APOC 支持
未开启的错误信息:
Failed to invoke procedure apoc.load.json: Caused by: java.lang.RuntimeException: Import from files not enabled, please set apoc.import.file.enabled=true in your neo4j.conf
允许 import 文件
docker run \ -p 7474:7474 -p 7687:7687 \-v $PWD/data:/data -v $PWD/plugins:/plugins \--name neo4j-apoc \-e NEO4J_apoc_export_file_enabled=true \-e NEO4J_apoc_import_file_enabled=true \-e NEO4J_apoc_import_file_use__neo4j__config=true \neo4j
APOC 下载地址:https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/3.5.0.11
APOC 用户手册: https://neo4j.com/labs/apoc/4.1/usage/

示例 cypher 语句:
WITH "jdbc:mysql://192.168.1.104:3306/test1?user=root&password=pass" as urlCALL apoc.load.jdbc(url,"select * from t_eth_transaction12 limit 1000000") YIELD rowMERGE (a:Address{address: row.from})MERGE (b:Address{address: row.to})MERGE (a)-[t:TRANSFER_TO{hash: row.hash,bn:row.block_number,value:row.value}]->(b);
内存参数配置

What is Docker
Docker is a lightweight virtualization mechanism to run single applications or processes in a containerized environment on a Linux host system. It is designed to handle a small piece of functionality in each container and scale according to needs. Docker containers can be used as infrastructure layers, data containers, or configuration providers.
The containers are built from images that can be vendor-provided or user-defined. To build a Docker image, you create a specification file (Dockerfile) to define the minimum-required, dependent layers for the application or service to run. The steps in the Dockerfile describe the operations for adding the necessary filesystem content for each layer. You can run as many Docker instances on your host as your resources allow because each container is isolated from any others.
Docker 是一种轻量级虚拟化机制,用于在 Linux 主机系统上的容器化环境中运行单个应用程序或进程。它旨在处理每个容器中的一小部分功能,并根据需要进行缩放。Docker 容器可用作基础设施层、数据容器或配置提供程序。
容器由供应商提供或用户定义的镜像构建而成。要构建 Docker 镜像,您需要创建一个规范文件 (Dockerfile) 来定义应用程序或服务运行所需的最小依赖层。Dockerfile 中的步骤描述了为每个层添加必要文件系统内容的操作。您可以在资源允许的情况下在主机上运行尽可能多的 Docker 实例,因为每个容器都与任何其他容器隔离。
By default, the docker image does not have certificates installed. This means that you will need to disable encryption when connecting with a driver.
默认情况下,docker镜像未安装证书。这意味着您在连接驱动程序时需要禁用加密。
