Closed NicolasCARPi closed 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 ;)
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:
Best, ~Nico