neurobagel / recipes

Configuration files for a Neurobagel deployment.
MIT License
0 stars 0 forks source link

Make mountpoints in `dev` recipe non-overlapping #40

Closed surchs closed 5 months ago

surchs commented 5 months ago

https://github.com/neurobagel/recipes/blob/b5cf9d86529c43091e7df0c4810d41f3698a2adc/dev/docker-compose.yml#L29-L32

the way we mount LOCAL_GRAPH_DATA is confusing - although it may not directly break.

if LOCAL_GRAPH_DATA is not in ${PWD} (whole point of having the variable), then when the container starts, /usr/src/data will be created inside the container. But because /usr/src is also a mountpoint, this will then create a data directory in ${PWD} that will look empty from the host.

Instead:

neurobagel-bot[bot] commented 1 month ago

:rocket: Issue was released in v0.0.1 :rocket: