You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a neo4j local deployment that needs to have an apoc.conf file. To include this in the deployment, I'm mounting the local volume with apoc.conf into neo4j's container folder, /var/lib/neo4j/conf. When running docker-compose up, the container dies and I get an error message ( see steps below) in the docker logs.
Hi, I 've explored and tried to simulated this issue.
For the solution, I see that we could mount to the outside folder and it will be written directly to the var/lib folder. The default of the config file is also mentioned in their docs for Linux and MacOS, docker environment
I have a neo4j local deployment that needs to have an apoc.conf file. To include this in the deployment, I'm mounting the local volume with apoc.conf into neo4j's container folder, /var/lib/neo4j/conf. When running docker-compose up, the container dies and I get an error message ( see steps below) in the docker logs.
Neo4j Version: 5.11.0-community-bullseye
Operating System: MacOS 13.5.1 (22G90)
API: Docker
Steps to reproduce
docker-compose up
docker ps --all
anddocker logs
sed: couldn't open temporary file /var/lib/neo4j/conf/sed8CXFyW: Permission denied
Expected behavior
The apoc.conf file is copied into the container, and the application runs without error
Actual behavior
A new file is created in the mounted directory without permissions, causing the deployment to fail
Local setup
Filesystem
docker-compose.yml
apoc.conf
The text was updated successfully, but these errors were encountered: