Postgres docker in droplet resets user password on its own
I’m running 2 web apps and postgres in docker containers inside a digitalocean droplet and every once in a little while postgres docker resets user password but data remains. This makes application fails calling postgres db. I’d have to access ssh and run ALTER USER username WITH PASSWORD ‘newpassword’; to fix it every time them it’d run fine for a day or two sometimes more.
Here is the log before the error occurs:
Has anyone seen any similar problems or any idea what’s going on?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×