@florider I've installed your version of the Docker Image because I thought it had persistent data in the Postgres container, however, it constantly seems to reset when we reboot the server.
Would you be able to offer any suggestion to make the data persistent?
Yes this is a problem, mounting linux to windows permissions...
I can't offer any help here right now, the last time I had this i built my own images.
But running (linux) images with mounted volumes on windows has some problems (like performance and permissions) and with the Docker Desktop (Docker Desktop is not the same as Docker CE on linux!) variant for windows there are many more limitations.
Ok for future people here is what seems to have fixed it for me.
To recap this is for having Postgres Persistent Data on Windows.
First you need to run this command to create the volume;
docker volume create --name=pgdata
I'm really not sure where the data is stored unless it is in the Program Data folder for Docker, but it works when I deleted the container and ran docker compose up again.
Then use this docker-compose.yml fil which has the extra volume setting;