DB connection failed after months of working and without updating

I can’t help too much with debugging Docker network issues, but I would start by trying to e.g. ping the DB host in your Ghost container image