mediagis / nominatim-docker

100% working container for Nominatim
Creative Commons Zero v1.0 Universal
1.08k stars 442 forks source link

Mounted volume group ownership fix #575

Closed adyyoung closed 3 weeks ago

adyyoung commented 1 month ago

When attempting to host this image in K8S with a persistent volume, the permission on the postgres directory were not correct.

 Error: The cluster is owned by group id *** which does not exist

I'm overriding the default command to set the permissions correctly using

`mkdir -p /var/lib/postgresql/14/main && sudo chown postgres:postgres /var/lib/postgresql/14/main && bash /app/start.sh`
what-the-diff[bot] commented 1 month ago

PR Summary