Open FrancescoSaverioZuppichini opened 3 years ago
Were you able to fix this? I am currently having the same issue.
This is how I mount local data to the neo4j container, without issue
services:
neo4j:
image: neo4j:5.11.0-community-bullseye
container_name: neo4j
ports:
- "7474:7474"
- "7687:7687"
environment:
- NEO4J_AUTH=neo4j/neo4j1234
volumes:
- some/local.dir/with/import/data:/var/lib/neo4j/import
Bug report
If I mount a volume to
/import
the data doesn't appear in the container and if I write in the/import
folder in the container nothing appears in the host folder.This is my docker-compose file
Steps to reproduce
docker pull neo4j:latest
cd /import
andtouch foo.txt
foo.txt
is not in the volume$VOLUMES/neo4j/import
Expected behavior
The volume should the correct linked to
/import
Actual behavior
The volume is not linked to
/import