Hello Neo4j community,
I trust this message finds you all in good spirits. I'm currently immersed in a project that involves leveraging Neo4j for spatial data, and I've encountered a challenge while attempting to integrate the Neo4j-Spatial extension. My project environment is based on a Docker container created using Docker-Compose, and I'm seeking assistance with addressing compatibility and setup issues.
Here's a concise overview of my setup:
- Neo4j version: 4.4.14
- Deployment: Docker via Docker-Compose
I've shared the relevant part of my Docker-Compose configuration for the Neo4j instance below:
neo4j:
image: neo4j:4.4.14
container_name: neo4j
restart: always
ports:
- 7473:7473
- 7474:7474
- 7687:7687
volumes:
- "../data/neo4j:/var/lib/neo4j/data"
- "../data/neo4j-plugins:/var/lib/neo4j/plugins"
- "../data/import:/var/lib/neo4j/import"
environment:
- NEO4J_AUTH=xxxxx/xxxxxx
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4JLABS_PLUGINS=["apoc", "graph-data-science"]
- NEO4J_dbms_security_procedures_unrestricted=apoc.*,gds.*
- NEO4J_dbms_security_procedures_whitelist=apoc.*,gds.*
To integrate Neo4j-Spatial, I followed these steps:
- Downloaded the .jar from this link.
- Moved the downloaded .jar to the
/var/lib/neo4j/plugins
directory. - Updated the
NEO4JLABS_PLUGINS
environment variable to include"spatial"
.
Despite following these steps, I encounter an error every time I attempt to run my Neo4j instance. Has anyone in the community faced a similar problem or successfully integrated Neo4j-Spatial in a Neo4j 4.4.14 Docker container?
Your insights and assistance would be greatly appreciated.
Thank you in advance for your support!