Container restarting: Postgres + Docker + Digital Ocean

From what I see in the logging above you have enabled the logging option for your database?

Maybe disable that and redeploy