sciapp / sampledb

Sample and Measurement Metadata Database
https://scientific-it-systems.iffgit.fz-juelich.de/SampleDB/
MIT License
21 stars 11 forks source link

Issue with current instructions for Docker #30

Closed NicolasCARPi closed 2 years ago

NicolasCARPi commented 2 years ago

Hello,

I think there is an issue with the current instructions in the README.

PGDATA should be /var/lib/postgresql/data/pgdata (so an absolute path) and the mountpoint should be /path/in/host:/var/lib/postgresql/data (note that we don't add pgdata in that path).

In my hands, this was necessary to get persistent data. Otherwise the pgdata folder would stay empty. This is also in accordance with the official doc: 2022-04-11-170334_1226x329_scrot

Best, ~Nico

NicolasCARPi commented 2 years ago

Ok I'm not even sure from where I got the wrong PGDATA, also, I skipped the part about the already existing docker-compose which I contributed in the past....

Anyway, I'm preparing a PR with a debian/python image ;)