Strapi Postgres connection error if not used for a while
I have a Docker image with Strapi and a Docker image with Postgres serving a nextjs application in the frontend in a Docker swarm configuration. When the connection ist not used for a while (I would need to measure the time), the first connection attempts fails, but waiting for a few seconds it then works.