Changed database host from localhost to db.