Docker and PostgreSQL problem – Drop database

I have a problem with Docker, or more precisely with the PostgreSQL database to which an application from another container connects.
For some time now, the database has been randomly dropped and I have to recover the database from a copy. Where to look for the problem> I am attaching screenshots.