Loosing the data after container restart

We have deployed the strapi v4 on azure container and its using the backend database as Azure postgres SQL. we are able to access strapi via the revision url as well. But we lose the data once the container is restarted.

Any Solution or suggestion ?