turbomam / biosample-xmldb-sqldb

Tools for loading NCBI Biosample into an XML database and then transforming that into a SQL database
MIT License
0 stars 1 forks source link

Use host mounts for the BaseX and Postgres data directories #12

Open turbomam opened 9 months ago

turbomam commented 9 months ago

Seemed to work seamlessly in MacOS, but doesn't work in Linux (due to directory ownership?)

Therefore, the the BaseX and Postgres data directories are container-only and would be lost if the container was deleted, updated, etc.

turbomam commented 9 months ago

For example, this mapping isn't working in Ubuntu:

-v `pwd`/shared-basex-data:/srv/basex/data

And even though a shared Postgres data directory can't be used, the user running the makefile can't delete it either