I have a docker-compose.yml
to build a Neo4j container with neo4j plugin apoc:
neo4j:
image: neo4j:4.4.14
container_name: neo4j
ports:
- 7473:7473
- 7474:7474
- 7687:7687
volumes:
- "../data/neo4j:/var/lib/neo4j/data"
- "../data/neo4j-plugins:/var/lib/neo4j/plugins"
environment:
- NEO4J_AUTH=neo4j/letoai
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4JLABS_PLUGINS=["apoc"]
- NEO4J_dbms_security_procedures_whitelist=apoc.*
- NEO4J_dbms_security_procedures_unrestricted=apoc.*
I have a Macbook M2 machine.
The problem is that I got the following error every time that i run docker compose up
.
Plugin at '/var/lib/neo4j/plugins/apoc.jar' is not readable
The thing is that the .jar that contains the plugin is downloaded in the path that is expected to be, but as a result of the installation failing the neo4j exits with status code 1.