Boundary persistent volume

Hello,
I have a persistent volume for the boundary postgres, the volume mount is set to /var/lib/postgres, the problem is that when restarting postgres I still loose everything, and the data does not seem to be persisted.

P.S : The PV and PV claim are correctly created, the PV claim is bounded to the correct pod.
I know my problem is not really related to boundary, but since my goal is to be able to persist the data (users, orgs, scopes…) from boundary I still think this category is acceptable.

Thanks in advance for any help !

Are you starting with boundary dev? If so, it will use its own Docker container for postgres and will destroy that container after it’s shut down.

If not, then it seems to be an issue with your Docker setup.